[SPIGOT-4525] PlayerCureZombieVillagerEvent Created: 12/Dec/18 Updated: 13/Dec/18 |
|
| Status: | Open |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Shawn Zillen | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | 1.13, entity, event, villager, zombie | ||
| Issue Links: |
|
||||||||
| Version: | 1.13.2-R0.1-SNAPSHOT | ||||||||
| Guidelines Read: | Yes | ||||||||
| Description |
|
I would love to see the following additions for the Spigot/Bukkit API:
PlayerCureZombieVillagerEvent Event that gets called when a player attempts to heal a zombie villager. |
| Comments |
| Comment by Shawn Zillen [ 13/Dec/18 ] |
|
Using PlayerInteractEntityEvent, a developer firstly needs to check if the entity indeed is a Villager Zombie, then needs to check if they have weakness and then if the ItemStack is a Golden Apple. There is no urgent need for this to get replaced into another event, but it would just make things a lot easier. |
| Comment by md_5 [ 13/Dec/18 ] |
|
PlayerInteractEntityEvent basically catches this, do you have a more specific use case in mind? |
| Comment by md_5 [ 13/Dec/18 ] |
|
Split into two tickets |