1. Wiki
  2. /Entities
  3. /minecraft:break_blocks

minecraft:break_blocks

Don't want to write this by hand? GodCraft sets minecraft:break_blocks for you with a switch.Get GodCraft

Overview

minecraft:break_blocks is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Lets the entity smash certain blocks just by walking into them. Handy for big mobs that should plow through plants or fences.

Fields

FieldTypeDefaultDescription
breakable_blocksListnoneBlocks the entity destroys when it moves through them.

Example

Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):

BP/entities/<name>.json
{
  "minecraft:break_blocks": {
    "breakable_blocks": {}
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more