villager like gui

Started by Viprin5657MC on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
villager like gui

how do you make a villager like gui?

i want to make a trader, but i dont know how to make the gui.

i've tampered with the gui, made a backpack, but want to make a trading gui,

tell me how in replies please.

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NBT, and maybe JSON. incase…
Tue, 12/01/2020 - 14:40

NBT, and maybe JSON.

incase you don't know what JSON is, this is JSON:

"root_element":{
  "element":value
  "element":value
}

 

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah i dont know how.. this…
Tue, 12/01/2020 - 23:29

yeah i dont know how.. this doesnt really help either, thanks though.

 

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I will test this myself…
Wed, 08/24/2022 - 22:31

I will test this myself later on because I am also struggling with this.

You might have to either:

- Set the Mob to have Villager AI
- Make custom procedures or a new GUI with a similar layout

-Take the villager's code for the trading system and tweak it after applying it to your custom mob

 

I'll post later if I find anything that works. You can also directly edit code in Mcreator. Here's a tutorial since I am not good at explaining the technical instructions on how to do that here - https://mcreator.net/wiki/mcreators-code-editor