You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
There's no API to change drops when Item Frame is destroyed, while also having access to the ItemFrame entity to e.g., read its PDC.
Describe the solution you'd like.
EntityDropItemEventcalled for Item Frame and the item inside of it.HangingBreakEvent#getItemsorHangingBreakEvent#getDropsDescribe alternatives you've considered.
Marking frame location on
HangingBreakEventthen retrieving it onItemSpawnEventand handling the rest of the logic.Other
Let me know if there's a cleaner solution. Basically trying to apply
item_modelcomponent to a dropped item frame if the entity was invisible.Beta Was this translation helpful? Give feedback.
All reactions