Started by
the7pmshow
on
Topic category: Help with MCreator software
So im doing a mod and i am making some structure but the loot is always the same i was wondering how to randomize it.
Edited by the7pmshow on Sat, 06/08/2019 - 18:52
Topic category: Help with MCreator software
So im doing a mod and i am making some structure but the loot is always the same i was wondering how to randomize it.
right now there's no other way than making serval copies of the same structure with diffrent loot
Generate a chest in the structure with this command, but don't open the chest before saving and importing the structure to mcreator.
/setblock ~ ~ ~ chest{LootTable:"minecraft:chests/end_city_treasure"}
You can create a block, with any texture, but with an event in "On tick update", for him to remove himself and put a chest, you can make chests (structures) and put whatever you want there, save the structure (chest ) and when the "ghost" block is removed, you have one of the chests randomly placed!