MiniHUD

MiniHUD

3M Downloads

[Feature] Add ability to create a box shape using width/length/height and center location

ChristopherHaws opened this issue ยท 4 comments

commented

I would love to have the ability to create a box shape where I could input the width/length/height and center location instead of min and max.

Some use cases for this are:

  • Visualizing the effect radius of beacons before placing them
  • Visualizing the spawn chunks

Thanks for the awesome mod!

commented

Is there any particular reason why you aren't using the separate dedicated Beacon Overlay and Spawn Chunk Overlay for those?

For the "before placing" case in particular there is a somewhat hidden feature that when you have the Beacon Overlay enabled, if you hold a beacon item, a range overlay will be rendered around the player. And the size of that overlay in hotbar slots 1-4 is the slot number's corresponding beacon level. In the rest of the hotbar slots it will be the size of a lvl 4 beacon range.

But as to the center point and radius input method, I did consider it while I originally added the box shape, but I was just lazy and didn't add it yet. I'll probably add it at some point, maybe during the mod rewrites in 1.12.2 once I back-port the box shape to 1.12.2 in the first place.

commented

@maruohon Thanks for the quick reply! The reason I dont use the built in beacon overlay is because I'm dumb and didnt realize it was a thing! As for the spawn chunks, our server uses a modified spawn chunk radius, however adding a config value for "Spawn Chunk Radius" could solve the problem. In general, it would be nice to have width/length/height and center here as options for boxes though. :)

commented

Another use case would be to visualize iron golem spawn box. I just made a shared platform for the golems to spawn, and then placed 4 villager clusters at the corners of the platform to increase the spawn rate without using redstone or chunk loaders.

Having such a box shape would've been very helpful when deciding where to place villager beds to minimize the intersection between different villager clusters

commented

Another use would be to see the spawn area for a pillager outpost. Useful to find which areas need spawn proofing to prevent pillagers from interfering with a raid farm.