Piglin like trades

Started by aoooodi2 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Piglin like trades

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…
Sun, 10/25/2020 - 16:37

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