[Suggestion] Add a CopperGolemWeatheringEvent
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Is your feature request related to a problem?
It would be nice if I could listen to such an event in order to be able to cancel the weathering and also to get the current and new weathering statuses of the entity. There were also other people searching for such an event on the paper-dev channel on discord.
Describe the solution you'd like.
A CopperGolemWeatheringEvent that would run everytime the weathering status changes with an option to cancel it and get the new weathering status, optionally the previous weathering status too
Describe alternatives you've considered.
An alternative would be getting the time when the golem will oxidize from CopperGolem.OxidizationAt and run logic after that happens but that's not reliable
Other
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing linked pull request #13255 and the existing event API conventions it follows. Confirm that the proposed event covers weathering-status changes, exposes the requested status information, and can be cancelled; done means the pull request or equivalent implementation provides that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100