Create a GUI from a json file

Started by danhowe0 on

Topic category: Help with modding (Bedrock Edition)

Last seen on 11:52, 5. Jul 2021
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?

It's currently not possible…
Tue, 07/06/2021 - 05:27

It's currently not possible to do that using plain MCreator, but it could be done with some custom code.

Last seen on 09:42, 5. Sep 2023
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

Last seen on 08:00, 11. Jul 2023
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