Event for when a Creeper starts swelling
Nobody has claimed this yet.
- 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?
There's currently no easy way to generally tell when a Creeper begins swelling/expanding with the Paper API. I want to play a custom sound when a Creeper is about to explode without having to override the vanilla fuse.ogg sound, since TNT also uses that same sound.
Describe the solution you'd like.
I would like an event that is called right before Creepers begin swelling/expanding, with a method to get the Creeper entity that is about to swell, and with or without the ability to cancel the event.
Describe alternatives you've considered.
I considered CreeperIgniteEvent, but it only fires if you manually ignite a Creeper using a flint and steel or fire charge, or programmatically with Creeper#ignite or Creeper#setIgnited(boolean). A Creeper swelling due to proximity with a player does not fire this event.
EntityExplodeEvent only fires immediately before the Creeper explodes, not before the beginning of the swelling process.
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.
Assessment
This issue has not been assessed yet.