Piglin like trades

Started by aoooodi2 on Sun, 10/25/2020 - 16:16

Topic category: Help with modding (Java Edition)

Last seen on 01:04, 25. May 2022
Joined Oct 2020

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Piglin like trades
Sun, 10/25/2020 - 16:16

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...


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