[SPIGOT-4898] Fox item events and API Created: 09/May/19  Updated: 20/May/19  Resolved: 20/May/19

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: blablubbabc Assignee: Unassigned
Resolution: Fixed Votes: 2
Labels: 1.14, api, entity, event

Issue Links:
Cloners
is cloned by SPIGOT-4964 Panda item events and API Resolved
Version: This server is running CraftBukkit version git-Bukkit-5d6456b (MC: 1.14) (Implementing API version 1.14-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

Will still have to actually verify some of those missing events, but from a quick look through the code:

  • There might be no events yet for when a fox or panda picks up a nearby item.
    • EntityFox seem to override a(EntityItem), bypassing the general EntityPickupItemEvent already present inside EntityInsentient.a(EntityItem).
  • Fox can pickup/eat berry bushes (EntityFox.f#m()). This might also require a EntityChangeBlockEvent.

 

 



 Comments   
Comment by Brokkonaut [ 20/May/19 ]

ItemPickup/BlockChange events for foxes:

https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/566/overview

Generated at Tue Apr 22 05:33:04 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.