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

minecraft:push_through

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

Overview

minecraft:push_through is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Sets how far into blocks the entity can push through.

Fields

FieldTypeDefaultDescription
valueDecimal"0.0"The push-through distance in blocks.

Example

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

BP/entities/<name>.json
{
  "minecraft:push_through": {
    "value": "0.0"
  }
}

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