r/MinecraftCommands • • 4d ago

Help | Bedrock Structure block within a structure loading the same thing even with integrity and a random seed

Hello there! I've been trying to make a sort of randomized obstacle course, and one of the first things I want to put in there is a fire pit where you have to race around randomly placed fire blocks.

For some background information, the obstacle course takes place in houses that are NOT random.
The firepit is a structure of its own that is just a row of fire blocks. The house structure has a structure block within it that loads the firepit with integrity of 25, and I left the seed in the firepit structure as blank so it is randomized.

I wanted to test what would happen if I loaded the parent structure (the house) as it will happen when my obstacle course mini-game is finished, so I put an observer next to the firepit's structure block to activate it when the house is loaded. Every time I load the house, the layout of fire blocks is the exact same thing.

Please help me so that I can make the fire actually random.

1 Upvotes

3 comments sorted by

1

u/mittens4all Bedrock Commands 23h ago

Use the structure load command in an impulse command block instead of a saved structure block. The saved structure block will always result in the same layout.

structure load <name> <x y z> 0_degrees none false true false 25

1

u/OneRat_240 Command Expert Bedrock 1h ago

You should explain as to why it’s always the same result man. The reason as to why is because integrity is seed-based, so the seed is defaulted to a value that’s always the same. Which leads to the same result in a structure block, unless you change the seed inside the block.

1

u/mittens4all Bedrock Commands 10m ago

Thanks for explanation!