Replies: 9 comments
-
washed? o.O |
Beta Was this translation helpful? Give feedback.
-
https://minecraft.fandom.com/wiki/Cauldron#Removing_dye_from_items mfw |
Beta Was this translation helpful? Give feedback.
-
I just named it washed because the 3 CauldronLevelChangeEvent.ChangeReasons related to items also end with _WASH |
Beta Was this translation helpful? Give feedback.
-
hmm maybe can try make a PR.. but why a event and not use the interact event? |
Beta Was this translation helpful? Give feedback.
-
That'd be great! The reason for it most likely is that the logic is a bit more special for each interaction type. |
Beta Was this translation helpful? Give feedback.
-
hmm maybe can be better improvement the lowerFillEvent for add this items (? |
Beta Was this translation helpful? Give feedback.
-
The issue with that is the event is called before the "washed" behavior, so it doesn't give you access to that. You'll pretty much have to put it between the washing item logic, and the player being given the item. You may need to capture/clone the item as well, as it seems some places mutate the item while others replace it. |
Beta Was this translation helpful? Give feedback.
-
hmm the cases for this works very different... for dye items change a value.. for banner make 3 cases... and for shulker create a new item and copy all to the new xd |
Beta Was this translation helpful? Give feedback.
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem?
I'm trying to modify the item meta of an item which is being washed in a cauldron.
Describe the solution you'd like.
Adding the PlayerWashItemEvent which provides access to:
Describe alternatives you've considered.
Figuring out the itemstack / hand used by listening to the CauldronLevelChangeEvent and PlayerInteractEvent and capturing the last cauldron interaction.
Other
No response
Beta Was this translation helpful? Give feedback.
All reactions