Started by
Goldy_Plays
on
Topic category: Help with Minecraft modding (Java Edition)
I am making a Claim Protection Mod, and I want my Claim Blocks to place at the Max Build Height of any Dimension (Overworld, Nether, End and Modded Dimensions), but I don't see any procedure for it or know how too.
Currently the Claim Blocks place at Y: 319, so only the Overworld works.
Edited by Goldy_Plays on Fri, 09/08/2023 - 20:13
Here you go! The block that is selected is void air. This procedure is based on the fact that above and bellow every world is void air. You may want to make the maxHeight variable a global variable so it can be used in other procedures.
Thanks!
you could use feature to spawn the blocks.
Why?
coz there's condition block to spawn the feature 'n' blocks below top of the world