EntityGroundOffsetComponent Class

Extends

Sets the offset from the ground that the entity is actually at.

Properties

value

value: number;

Value of this particular ground offset. Note that this value is effectively read only; setting the ground offset value will not have an impact on the related entity.

Type: number

Important

This property can't be edited in read-only mode.

Constants

componentId

static read-only componentId = "minecraft:ground_offset";

Type: string