Minecraft Data Packs / Mob

Horse Traps (Re-Created)

  • check_circle Functions
  • check_circle Predicates
  • 2,149 views, 4 today
  • 156 downloads, 0 today
  • 14
  • 13
SAMEER_99's Avatar SAMEER_99
Level 51 : Grandmaster Programmer
76

Introduction:


This datapack aims to recreate Skeleton Horse Trap and add a brand new Horse Trap called "Zombie Horse Trap" in vanilla minecraft. It supports minecraft versions 1.16 to 1.20.

Working:


This datapack modifies 2 things in the game.
  1. Thunderstorm Weather : It creates a new algorithm for thunderstorm weather. The algorithm is, every 10 minutes, there is a 10% chance of weather being changed to thunderstorm. This makes thunder weather occur more often than before, but still pretty rare.
  2. Spawning mechanism : Whenever a thunderbolt strikes the ground, there is a 5% chance of a horse spawning from that thunderbolt. The horse will look like a normal horse, but it is a hidden trap from either skeleton(enabled by default) or zombie(disabled by default). When a player goes near that horse, it will turn back into a lightning bolt and 4-6 skeleton/zombie horsemen will spawn. By default, zombie horsemen are disabled but you can change that from toggle command, see admin commands section.

Mob Data:

  1. Skeleton Horseman:
    • Mob: Skeleton [​24 HP (12 Hearts)]
    • Mounted Horse: Skeleton Horse [​24 HP (12 Hearts)]
    • Weapon: Bow (Random Enchantments)
    • Armor: Iron Helmet (Fixed Enchantment: Protection II)
  2. Zombie Horseman:
    • Mob: Drowned [​24 HP (12 Hearts)]
    • Mounted Horse: Zombie Horse [​24 HP (12 Hearts)]
    • Weapon: Trident (Random Enchantments)(Fixed Enchantment: Channeling)
    • Armor: Turtle Shell (Unbreakable and No Loot Drop)

Advancements:

  1. Horse Trap: Trigger a horse trap from a horse spawned from lightning bolt.
  2. Skeleton Horseman Hunter: Kill a Skeleton Horseman.
  3. Zombie Horseman Hunter: Kill a Zombie Horseman.

Admin Commands:

  • /function summon:horse_traps/trapSummons Horse with Hidden Trap
  • /function summon:horse_traps/skeleton_horsemenSummons 4-6 Skeleton Horsemen
  • /function summon:horse_traps/zombie_horsemenSummons 4-6 Zombie Horsemen
  • /function toggles:horse_trapsUsing this you can toggle some features. They are:
    • Skeleton Horse Traps : When Enabled, horses spawned from lightning bolt can trigger Skeleton Horse Trap.
    • Zombie Horse Traps (Default: Disabled) : When Enabled, horses spawned from lightning bolt can trigger Zombie Horse Trap.
  • /function uninstall:horse_trapsUninstall the datapack removing all datapack related features.

My Socials:

  1. PlanetMinecraft Page
  2. Modrinth Page
  3. Discord Server

License:


Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

Conditions that apply:
  1. You must give appropriate credit to the creator if you publicly showcase this work.
  2. You may not use this work for commercial/business purposes. (this does not include having the datapack installed in your server)
  3. You may modify this work, but may not distribute the modified work.

Installation:


Open your .minecraft directory. Put the datapack into the saves/world_name/datapacks directory.
CreditSAMEER_99
CompatibilityMinecraft 1.16
toMinecraft 1.20
Tags

3 Update Logs

Update #1.2 (HOTFIX) : by SAMEER_99 02/18/2024 1:33:44 pmFeb 18th

- Fixed a bug where uninstalling the datapack disables commandFeedback.
LOAD MORE LOGS

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome