promotional bannermobile promotional banner

Demolition Order

Allows for mobs to target and destroy specific blocks.

Demolition Order allows for configurable orders for mobs to target and destroy certain blocks. They can also break blocks in their path and drop the corresponding destroyed blocks.

 

By default, zombie, skeletons and creepers will seek to destroy crafting tables and furnaces. The type of creature and block they will seek to destroy is configurable via datapack. Orders to break blocks are recognized in data/[id]/demolition_orders or in the config file.

 

Example file:

[
  {
    "id": "griefers",
    "mobs": [
      "minecraft:zombie",
      "minecraft:skeleton",
      "minecraft:creeper"
    ],
    "targets": [
      "minecraft:furnace, 1.0, 1.0",
      "minecraft:crafting_table, 1.0, 1.0"
    ],
    "breakPath": true,
    "dropLoot": false
  }
]
  • ID is the unique identifier of the order.
  • Mobs contains the list of mobs that will break the blocks.
  • 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.

Demolition Order Team

profile avatar
  • 14
    Followers
  • 50
    Projects
  • 1.5M
    Downloads

L'envers de la médaille

More from ReversTeamView all