Minecraft Data Packs / Mob

Egg despawn datapack

  • check_circle Functions
  • 394 views, 9 today
  • 11 downloads, 0 today
  • 2
  • 2
Oekepoek's Avatar Oekepoek
Level 2 : Apprentice Miner
0
Hallo this is my first datapack.

Reason I made this was because on my private server people love to throw eggs arround. With problem they hatch and the chickens grow and lay eggs. Next zombies pick them up and will never despawn. So I got hunderds of zombies under ground never despawning, because they hold an item.
With this datapack I made it so eggs only hatch when they are in contact with certain blocks. Otherwise the egg will be destroyed.


Blocks egg will hatch:
Hay_block
Grass_block
moss_block
CompatibilityMinecraft 1.13
toMinecraft 1.20
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome