Ever wanted to edit items when they are on the ground with goop NBT manipulation commands?
Well now you can by specifying the UUID of a dropped item!
For example, repair an item while it is dropped in the ground:
Code (Text):
goop nbt damage <UUID> doesntMatter 0
(Sets the damage to 0, fully repairing such a dropped item)
Usually, where it says
doesntMatter, you'd specify the slot the player is holding the item, but since the entity itself is the item, there is no need to specify a slot.
- And then, if it doesnt matter, why didnt you just remove the slot argument?
--- Its actually pretty intertwined in the code of 17 different methods that do NBT Manipulation. Believe me when I say that the work it takes you to write any placeholder text with no spaces is unmeasurably less than what I'd have to do to remove it.
- And how are we supposed to get the UUID of the item?
--- Good Question
hey doesnt that premium module GooP CustomStructures I'm selling for $10 allows you to throw items onto pressure plates and run commands on them as a dropped item (giving you access to their UUID with %entity_uuid% placeholder)?
Apart from that, mostly fixing a few minor bugs (and a major one if you didnt have a specific plugin, prevented GooP from registering MMOItem stats).