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

minecraft:ground_offset

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

Overview

minecraft:ground_offset is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Moves the entity up or down relative to the ground it stands on.

Fields

FieldTypeDefaultDescription
valueDecimal"0.0"Height in blocks above the ground.

Example

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

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

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