Is there a procedure for "Find Max Build Height of Dimension"?

Started by Goldy_Plays on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a procedure for "Find Max Build Height of Dimension"?
Fri, 09/08/2023 - 20:13 (edited)

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
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here you go! The block that…
Sat, 09/09/2023 - 00:53

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.

""

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could use feature to…
Sat, 09/16/2023 - 17:39

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