Started by
aoooodi2
on
Topic category: Help with Minecraft modding (Java Edition)
I would like to know how could i do a piglin like trading sistem,i know what i need but i dont know how to do it.
first i wanna do if i right click the entity with 16 of iron it drops me a random item.
is there a way to do a ´´if player has (a quantity) of a item in main hand´´ do...
thanks
Yes. Get item from mainhand and use item procedures to get item count.
I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei