promotional bannermobile promotional banner
Munchers - Animals Eat Crops logo

Munchers - Animals Eat Crops

Animals will seek to destroy and eat unprotected crops.
item image

A Cow Munching on Wheat - Stay True & Mellow Shaders

item image

A Cow Munching on Wheat

item image

Protect your Crops from Animals

item image

A Rabbit Munching on Carrots

item image

A Sheep Munching on Carrots

Description

Requires Demolition Order as a dependency.

Animals such as cows, sheeps and rabbits will seek to eat any unprotected crops. Cows will seek to destroy and eat wheat crops, rabbits will seek to destroy carrot crops. Fields must now be fenced to avoid wild beasts munching on all sorts of crops. The type of creature and crop they will seek to eat is configurable via datapack. Orders to eat crops are recognized in data/munchers/demolition_orders.  

 

Animals will eat their respective preferred crops.

  • Cows, Sheeps, Mooshrooms, and Goats eat wheat crops.
  • Horses, Donkeys, and Mules eat wheat and carrot crops.
  • Pigs eat carrots, potatoes and beetroot crops.
  • Rabbits eat carrot crops.
  • Chicken and parrots eat stems.

Example file:

[
  {
    "id": "pig_eaters",
    "mobs": [
      "minecraft:pig"
    ],
    "targets": [
      "minecraft:carrots, 1.0, 0.1",
      "minecraft:potatoes, 1.0, 0.1",
      "minecraft:beetroots, 1.0, 0.1"
    ],
    "breakPath": false,
    "dropLoot": false
  },
  {
    "id": "rabbit_eaters",
    "mobs": [
      "minecraft:rabbit"
    ],
    "targets": [
      "minecraft:carrots, 1.0, 0.1"
    ],
    "breakPath": false,
    "dropLoot": false
  }
]
  • ID is the unique identifier of the order.
  • Mobs contains the list of mobs that will eat the crops.
  • Targets contains the list of blocks that the mobs will seek to destroy. First is the namespace of the block, then the priority weight and the block breaking speed.
  • BreakPath defines if the mob breaks blocks in their path.
  • DropLoot defines if the mob drops the blocks they break.

 

 Feel free to be used in any modpack.

The Munchers - Animals Eat Crops Team

profile avatar
  • 19
    Followers
  • 50
    Projects
  • 3.1M
    Downloads