Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.17.1] Empty height range error


DavidQF555
 Share

Recommended Posts

I'm getting the error: 

[14:09:53] [Worker-Main-10/WARN]: Empty height range: [0 above bottom-15 absolute]

in this project. As for relevant classes, I think io.github.davidqf555.minecraft.realitycubes.common.world.ShapeChunkGenerator and RealityCubeHelper are causing issues. I think it has to do with the FlatShape's height that I created as well . I'm just unsure what the issue with the height is. Using breakpoints, I get that the error is in originates in ShapeChunkGenerator.applyBiomeDecoration() and it is caused by UniformHeight.sample()

Link to comment
Share on other sites

2 minutes ago, Luis_ST said:

look's like a Feature which is add to your custom Dimension has a wrong Height (VerticalAnchor), where is your Features class?

I'm not creating features. I'm working with dynamic dimensions and haven't changed any heights other than in the dimension type created within RealityCubeHelper. 

Link to comment
Share on other sites

  • 3 weeks later...

I'm looking into UniformHeight because that seems to be the place where the message is logged. I'm not sure how the min > max thought because just finding usages of UniformHeight.of() shows that all the heights created seem to be constant. I'm not sure what's going on. 

Link to comment
Share on other sites

I realized the error but I'm not sure how I'm supposed to solve it. Some vanilla feature in the biome I'm using in my dimensions uses an absolute upper bound but relative lower bound. So when I made the min built height of my dimension greater, the lower bound increased so much that it became higher than the upper bound. I'm not sure how to fix this other than change my dimension min height, but I was trying to center my dimension at about surface level so that the correct features were carved. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.