Create a GUI from a json file

Started by danhowe0 on

Topic category: Help with Minecraft modding (Bedrock Edition)

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a GUI from a json file

I want to create a villager with a GUI, but I don't want to add each GUI button by hand, since I only want to show the options that the user can afford. I was thinking of probably using a json file which is read and checked against the players inventory, but i dont really know how this would work! any ideas?

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make villager in blockbench…
Mon, 08/16/2021 - 16:08

Make villager in blockbench

Convert villager into java/block 

Fix villager : )

Add new java/block villager/trader to a structure you make

Use the structure block to to save structure with new villager trader inside the structure.

Import structure in Mcreator

Now you have a villager with trades that wont walk away haha. I use this method with all my traders. They look just like NPCs but they dont move. IMO it is better and with more control. 

 

Chewy

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
not sure sorry
Tue, 09/21/2021 - 08:22

not sure sorry