Minecraft Data Packs / Technology

Custom Structure Bounding Boxes [Place Bounding Boxes wherever you want]

  • check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • 1,523 views, 5 today
  • 99 downloads, 0 today
  • 11
  • 8
imalittlhigh's Avatar imalittlhigh
Level 61 : High Grandmaster Sweetheart
109
Made a Custom Survival Map but realized you cant just place down the bounding boxes for structures that spawn mobs?
Dont want to generate a Vanilla map and copy the bounding box over to your custom world?
Want to have bigger bounding boxes for your amazing builds?

This Datapack lets you place the bounding boxes for the Ocean Monument, Nether Fortress and Pillager Outpost wherever you want.
You can even place multiple bounding boxes next to each other to create a bigger spawning area!

I have not tested this thoroughly in my survival world. It is on my server tho and dones not seem to have any issues for now.



It is important to remember, this Datapack cant behave exactly like Vanilla Bounding Boxes and Mob Spawns would!
You will always have something thats different for you farms and general experience.



Use GitHub for different game versions if available
Custom Structure Bounding Boxes [Place Bounding Boxes wherever you want] Minecraft Data Pack

main will always be the most up to date version.
If you want in dev versions, feel free to download the in_dev. (might not have this exact name)

If there are multiple versions, the older one will work up to the newer one.
[​If there is one "1.19.2" and one "1.20" the "1.19.2" will work from version 1.19.2 until version 1.20]




Get the Chat GUI Menu by running /function sbounds:chat/gen_menu
From there you can get the Chat menu to give you the different bounding box markers & confirm their placement or delete placed ones.

If you are setting everything up, you might want to see where the bounding box is placed, even after you confirmed it. To do so run /tag @s add sbounds.debug the Datapack will now tell you everything it does, as well as show where the bounding box is placed (indicated by a glowing spawner, if you are in a 25 block radius of it)

Chat Options:
- Remove not locked Bounding Box [​Will remove the closest not confirmed bounding box]
- Confirm Placement [​Confirms the placement of the closest not confirmed bounding box and remove the visual display]
- Remove locked Bounding Box [​Removes the closest already confirmed bounding box]

If you place a bounding box with a spawn egg, it will display the area it affects with a glowing blockdisplay (The Pillager Outpost & Ocean Monument are huge! If you are in the blockdisplay, you wont see it! You also have to be near the corner it was summoned to see it 100% of the time [​always -x,-z])
If placed bounding boxes intersect you wont get any issues!



Even more Technical Infos
How Mob Spawning is handled:

Mob Cap is checked: 70 Mobs per player in the dimension [​Zombies holding items are counted, so are named Mobs, sry. PersistenceRequired Mobs are not counted]
If there are not enough spawned mobs in a 128 radius of the centre, new mobs are spawned. (Max Mobs: Pillagers: 12, Guardians: 25, Fortress Mobs: 45 in nether, 25 in overworld)
One to Four Mobs will be spawned during a spawning attempt.
The Mob will be spawned at the placed bounding box (where you rmb the spawn egg), then spread in the area thats part of the bounding box.
If the block it lands on is spawnable and no player is closer than 24 blocks, it stays. If either of that is false, it will be removed (not spawned).



All of my Datapacks are free to use, modify and rip apart.
If you add them to a pack or something of yours, please let me know so i can check it out.

I do not condone charging money for Datapacks.
You may not use any of my Datapacks for monetary gain.
(except if you are creating content with them [​like YouTube videos])
CompatibilityMinecraft 1.20
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome