premium banner
Zombies will try to destroy your light sources

Description

Have you ever had your door broken down, thanks to a Zombie who couldn't keep their hands off it?

Now, they have found a new object of irritation, lights!

Currently they will look for the following light sources and try to get rid of them, if they can.

Now since version 1.3.0, this can be changed through datapacks (it's called affected_blocks), and you can also affect what mobs will try to destroy lights through affected_entities

affected_blocks.json

{
  "replace": false,
  "values": [
    "minecraft:torch",
    "minecraft:wall_torch",
    "minecraft:lantern",
    "minecraft:shroomlight",
    "minecraft:redstone_lamp",
    "minecraft:campfire",
    "minecraft:beacon"
  ]
}

affected_entities.json

{
  "replace": false,
  "values": [
    "minecraft:zombie"
  ]
}