Started by
noeties
on
Topic category: Help with Minecraft modding (Java Edition)
Let me explain.
I want to make an arena that always spawns around 10 blocks in front of you when you spawn into the new dimension
It works, but when you die and return to the dimension, It spawns a duplicate of the same thing.
This wouldn't be an issue if it didn't also spawn in the boss that is also part of the structure.
So can anyone explain a way to fix it?
Edited by noeties on Tue, 10/26/2021 - 23:35
In the dimension editor
When player enter in a dimension spawn structure at x / y / z player coordinates. Remeber add / remove from the coordinates the dimension of the structure or the player can spawn in a wall
Sadly that is what my code is
Use global trigger for player. When enter in a dimension the structure spawn is is true then automatically change to false
Im very confused
Im bad at coding sorry
You don't need code, just create a logic global trigger (true or false) that is true at the start of the world and become false when you enter in a dimension
Make a variable. When structure generated change it to true, then make it so that when the variable is true it cannot generate anymore