Ali Waleed

Make a data pack that adds 5 new mobs. Armored Zompie, Giant chicken that lay chickents, chickents which is small chickens move super fast and jump alot, Bee Friend which is a giant bee can be tamed with goney bottle and attack what you attack and you can ride, Mamoth which is a sekelton that can throw explosiful arrows.

Kodari AI
KodariAug 27 at 5:18 pm 1
MobMenagerieFive
Adds five new mobs via datapack: Armored Zombie with increased health and armor, Giant Chicken that periodically spawns small chicks, Hyper Chickens that are tiny, fast, and high-jumping, a tameable Giant Bee (Bee Friend) that follows and attacks your targets and is rideable, and a Mammoth Skeleton that shoots explosive arrows at players.
  1. Create the vanilla 1.21.4 datapack structure and load/tick registration.

  2. Add summon functions for Armored Zompie, Giant Chicken, Chickent, Bee Friend, and Mammoth.

  3. Add behavior functions and advancements for laying Chickents, jumping, taming/riding, targeting attacked entities, and explosive arrows.

Created the mob_expansion datapack with five custom mobs:

  • Armored Zompie — diamond-armored zombie with increased health and damage.

  • Giant Chicken — large chicken that periodically spawns Chickents.

  • Chickent — small, very fast chicken with powerful jumps.

  • Bee Friend — giant bee that can be tamed using a honey bottle, ridden, and commanded to attack targets you hurt.

  • Mammoth — giant skeleton with explosive arrows.

Summon all five with:

Mcfunction
/function mob_expansion:summon/all

Individual summon functions are also available under mob_expansion:summon/.

  1. Download the ZIP using the export button.

  2. Extract it so the mob_expansion folder is directly inside world/datapacks/.

  3. Use /reload to activate it.

  4. Use /datapack list to verify it loaded.

  5. Use /function mob_expansion:summon/all to test it.

Kodari can make mistakes. Review important code before using.
Files
mob_expansion
Code
19 87
mob_expansion/data/mob_expansion/function/tick.mcfunction
scoreboard players add @e[tag=giant_chicken] nm_lay 1
execute as @e[tag=giant_chicken,scores={nm_lay=200..}] at @s run function mob_expansion:mob/giant_chicken_lay
execute as @e[tag=chickent] at @s run function mob_expansion:mob/chickent_tick
execute as @e[type=bee,tag=bee_friend] at @s run function mob_expansion:mob/bee_tick
execute as @e[type=arrow,tag=!mammoth_arrow] at @s if entity @e[type=skeleton,tag=mammoth,distance=..32] run tag @s add mammoth_arrow
execute as @e[type=arrow,tag=mammoth_arrow] at @s if entity @s[nbt={inGround:1b}] run function mob_expansion:mob/mammoth_arrow_explode
execute as @e[type=arrow,tag=mammoth_arrow] at @s if entity @e[type=!arrow,distance=..1] unless entity @e[type=skeleton,tag=mammoth,distance=..2] run function mob_expansion:mob/mammoth_arrow_explode