Started by
Themmstudios
on
Topic category: Help with Minecraft modding (Java Edition)
Ive been making a 1.14.4 mod and there was a issue in which i had a invisible block that replaces the block with a chest with random loot and i used the procedure Update tick to spawn the chest using a command, yet it's not working and this is the command "setblock ~ ~ ~ minecraft:chest{LootTable:"minecraft:chests/simple_dungeon"}" but it looks like the blocks that spawn in by the player activates the procedure as when the block is generated in the world it doesn't activate the procedure, and i want a chest with random loot to generate in the world
I've been having trouble with this kind of procedure too. 6_6 But I know that when you generate a random chest it doesn't actually fill up until you open it. So maybe you could go into your game, create a randomized chest, save it as a structure, and then spawn that?
Ill try it
actually I think that is not the issue. The issue is update tick is not triggered with blocks generated in the world because that would cause lag. You should just create a randomized chest, place it on the ground, don't open it, and it will be random
alright im making a care package instead, thanks!
I'm UNSMART so i dont know how to close a forum...
I don't think you can oof.
Maybe it can be made with Client display random tick? I have the same problem.
Im trying to make mod where is a biome that "spreads slowly", the way that those blocks tick slowly, and when they tick then they replace every block around them (expect air, other same blocks and bedrock) with the same block.
still can't close a forum