- check_circle Functions
Published May 29th, 2021, 5/29/21 5:47 pm
- 2,630 views, 1 today
- 287 downloads, 0 today
9
With this datapack, Shulkers can naturally spawn on the bottom of end islands within 128 blocks of a player.
This datapack is included with my Renewabilities Datapack so if you want this and much more, be sure to download that!
This datapack is included with my Renewabilities Datapack so if you want this and much more, be sure to download that!
Spawning Mechanics
Every 500 ticks (can be changed), the code will select a random X and Z and search for the lowest block of endstone below Y30 with at least 2 air blocks below it (so the shulker can open). If that attempt fails, you will have to wait another 500 ticks for the next attempt. These attempts are per-player meaning that if there are 5 players online in the end, up to 5 shulkers can spawn if your lucky. Just like with almost every other mob in the game, they despawn when you go out of the 128 block range and have a seperate mob cap where only 20 shulkers (also can be changed) can exist at a time.
Configuring the datapack
You can access the config by doing /function rs_config. Clicking on the pencil will suggest a scoreboard command where you can edit the value. You can also click the Restore Defaults button at the bottom to change to the original settings.
Compatibility | Minecraft 1.16 |
to | Minecraft 1.17 |
Tags |
5143820
119
Create an account or sign in to comment.