[SPIGOT-4964] Panda item events and API Created: 20/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: 0
Labels: 1.14, api, entity, event

Issue Links:
Cloners
clones SPIGOT-4898 Fox 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.
    • EntityPanda seem to override a(EntityItem), bypassing the general EntityPickupItemEvent already present inside EntityInsentient.a(EntityItem).
  • API for setting panda's held item (limited to cake and bambus?).
  • Pandas will consume their cake and bambus items after a while.
    • API to set the timer for that?

 

 

 


Generated at Tue Apr 22 03:57:09 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.