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

Started by Goldy_Plays on

Topic category: Help with modding (Java Edition)

Last seen on 20:31, 19. Oct 2023
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
Last seen on 01:08, 1. Dec 2023
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.

""

Last seen on 20:31, 19. Oct 2023
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks!
Sat, 09/09/2023 - 01:43

Thanks!

Last seen on 03:35, 4. Dec 2023
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