1. Wiki
  2. /Blocks
  3. /minecraft:entity_fall_on

minecraft:entity_fall_on

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

Overview

minecraft:entity_fall_on is a block component: it goes in the components object of a custom block. Sets how far a mob or player must fall onto this block before landing on it counts, so scripts can react to the landing.

Fields

FieldTypeDefaultDescription
min_fall_distancenumber0Fall height in blocks needed before the landing counts.

Example

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

BP/blocks/<name>.json
{
  "minecraft:entity_fall_on": {
    "min_fall_distance": 0
  }
}

Blocks: Behavior pack

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