How to make a mob that has trades and isn't a villager

Started by Dr Doggo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a mob that has trades and isn't a villager

Hello, I am currently trying to make a mod that includes a mod that is tradeable but I have no idea how.

Can anybody help me with this?

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can make a custom GUI…
Sun, 01/18/2026 - 18:47

You can make a custom GUI that opens when you right-click on the mob and put inputs and outputs for your currency and the item you are trading for.

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Or, an easier way, you could…
Sun, 01/18/2026 - 19:00

Or, an easier way, you could make a procedure that makes it barter like a pigeon when the Item in its main hand is what you want it to be.