Help with structure

Started by Nydex on Fri, 04/24/2020 - 07:14

Topic category: Help with modding (Java Edition)

Last seen on 12:29, 15. May 2020
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help with structure
Fri, 04/24/2020 - 07:14

i made my own structure but how can i make generate new loot table for chest everytime it will generate that structure 

 

 

Last seen on 02:02, 12. Sep 2020
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It is pretty simple. First…
Fri, 04/24/2020 - 08:45

It is pretty simple. First off, you have to make a loot table. The name of the loot table doesn't really matter as long as the type of the loot table is chest. Now save the loot table and load up minecraft. Now you have to go to the chest and type in the following command:

/data merge [block position] {lootTable:"yourmodid:chests/loottablename"}

Now don't open the chest. If you do it will generate the loot and we want to leave it ungenerated. Now use the structure block to save it, load it into mcreator and bam. It should work. 

 

Note: I said should

Last seen on 12:29, 15. May 2020
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
xd ok i will try it thanks…
Fri, 04/24/2020 - 08:49

xd ok i will try it thanks for the help :