Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / DisplayBaseFields

Interface: DisplayBaseFields โ€‹

Defined in: core/values/entities.generated.ts:232

minecraft:fishing_bobber, minecraft:lightning_bolt

Extends โ€‹

Extended by โ€‹

Properties โ€‹

air? โ€‹

optional air?: number

Defined in: core/values/entities.generated.ts:35

Ticks of air left.

Inherited from โ€‹

EntityFields.air


billboard? โ€‹

optional billboard?: NbtInput

Defined in: core/values/entities.generated.ts:246

Controls if the model should pivot to face the player when rendered. Defaults to fixed.


brightness? โ€‹

optional brightness?: BrightnessFields

Defined in: core/values/entities.generated.ts:248

When defined, overrides light values used for rendering. Omitted by default (which means rendering uses values from the entity position).


customName? โ€‹

optional customName?: TextComponent

Defined in: core/values/entities.generated.ts:53

Inherited from โ€‹

EntityFields.customName


customNameVisible? โ€‹

optional customNameVisible?: boolean

Defined in: core/values/entities.generated.ts:55

Whether the custom name should always be visible.

Inherited from โ€‹

EntityFields.customNameVisible


data? โ€‹

optional data?: NbtInput

Defined in: core/values/entities.generated.ts:67

Any stored data

Inherited from โ€‹

EntityFields.data


fallDistance? โ€‹

optional fallDistance?: number

Defined in: core/values/entities.generated.ts:31

How far the entity has fallen.

Inherited from โ€‹

EntityFields.fallDistance


fire? โ€‹

optional fire?: number

Defined in: core/values/entities.generated.ts:33

Ticks of fire left, or if negative, ticks until the entity starts to burn.

Inherited from โ€‹

EntityFields.fire


glowColorOverride? โ€‹

optional glowColorOverride?: NbtInput

Defined in: core/values/entities.generated.ts:256

Override glow border color. If set to 0, uses team color. Defaults to 0. Calculated as RED << 16 | GREEN << 8 | BLUE. Each of these fields must be between 0 and 255, inclusive.


glowing? โ€‹

optional glowing?: boolean

Defined in: core/values/entities.generated.ts:61

Whether the entity should glow.

Inherited from โ€‹

EntityFields.glowing


hasVisualFire? โ€‹

optional hasVisualFire?: boolean

Defined in: core/values/entities.generated.ts:37

Whether the entity has visual fire.

Inherited from โ€‹

EntityFields.hasVisualFire


height? โ€‹

optional height?: number

Defined in: core/values/entities.generated.ts:254

Describes height of the culling bounding box. Bounding box spans vertically from y to y+height and horizontally width/2 in all directions from the entity position. If set to 0, culling is disabled. Defaults to 0.


interpolationDuration? โ€‹

optional interpolationDuration?: number

Defined in: core/values/entities.generated.ts:242

Ticks the interpolation should take to complete.


invulnerable? โ€‹

optional invulnerable?: boolean

Defined in: core/values/entities.generated.ts:43

Whether the entity is immune to damage.

Inherited from โ€‹

EntityFields.invulnerable


invulnerableTime? โ€‹

optional invulnerableTime?: number

Defined in: core/values/entities.generated.ts:45

Temporary immunity duration of the entity, in ticks. \ The entity is immune to damage if invulnerable_time > 0 or Invulnerable is true.

Inherited from โ€‹

EntityFields.invulnerableTime


motion? โ€‹

optional motion?: readonly number[]

Defined in: core/values/entities.generated.ts:27

Inherited from โ€‹

EntityFields.motion


noGravity? โ€‹

optional noGravity?: boolean

Defined in: core/values/entities.generated.ts:41

Whether the entity should be effected by gravity.

Inherited from โ€‹

EntityFields.noGravity


onGround? โ€‹

optional onGround?: boolean

Defined in: core/values/entities.generated.ts:39

Whether the entity is on the ground.

Inherited from โ€‹

EntityFields.onGround


passengers? โ€‹

optional passengers?: readonly NbtInput[]

Defined in: core/values/entities.generated.ts:59

Passengers on the entity.

Inherited from โ€‹

EntityFields.passengers


portalCooldown? โ€‹

optional portalCooldown?: number

Defined in: core/values/entities.generated.ts:47

How long until the entity can go through a nether portal.

Inherited from โ€‹

EntityFields.portalCooldown


pos? โ€‹

optional pos?: readonly number[]

Defined in: core/values/entities.generated.ts:26

Inherited from โ€‹

EntityFields.pos


rotation? โ€‹

optional rotation?: readonly number[]

Defined in: core/values/entities.generated.ts:29

Rotation in [y-rotation, x-rotation]

Inherited from โ€‹

EntityFields.rotation


shadowRadius? โ€‹

optional shadowRadius?: number

Defined in: core/values/entities.generated.ts:236

Size of shadow. Defaults to 0 (no shadow). Interpolated.


shadowStrength? โ€‹

optional shadowStrength?: number

Defined in: core/values/entities.generated.ts:238

Strength of the shadow. Controls the opacity of the shadow as a function of distance to the block below. Defaults to 1. Interpolated.


silent? โ€‹

optional silent?: boolean

Defined in: core/values/entities.generated.ts:57

Whether the entity should make any sound.

Inherited from โ€‹

EntityFields.silent


startInterpolation? โ€‹

optional startInterpolation?: number

Defined in: core/values/entities.generated.ts:240

Ticks after the next client tick to wait until starting the interpolation. Info: All interpolated properties are part of a single interpolation set. Any update to an interpolated property will cause all values of the interpolation set to be saved as "current". - Data command executions that do not change the value of a property (even if it's present in NBT) do not count as updates. - Updates are synchronized to clients at most once per tick, so multiple updates within a single command or a function will still count as a single update. Previous current values are saved as "previous". If interpolation is enabled, the entity will transition between "previous" and "current" values over time. interpolation_duration must be set every time an interpolatable property is updated to cause interpolation. Negative values are allowed, will cause an instant jump to the subtracted duration value, then interpolation will continue as normal.


tags? โ€‹

optional tags?: readonly string[]

Defined in: core/values/entities.generated.ts:63

Labelling tags on the entity.

Inherited from โ€‹

EntityFields.tags


team? โ€‹

optional team?: string

Defined in: core/values/entities.generated.ts:65

Team to join when it is spawned.

Inherited from โ€‹

EntityFields.team


teleportDuration? โ€‹

optional teleportDuration?: number

Defined in: core/values/entities.generated.ts:244

How long in game ticks the entity takes to interpolate from its starting location to its destination when teleported. Defaults to 0 (no interpolation).


ticksFrozen? โ€‹

optional ticksFrozen?: number

Defined in: core/values/entities.generated.ts:69

Ticks that this entity has been freezing. Although this tag is defined for all entities, it is actually only used by mobs that are not in the freeze_immune_entity_types entity type tag. This increases by one every tick the entity is in powdered snow, and decreases by two when it's out of it.

Inherited from โ€‹

EntityFields.ticksFrozen


transformation? โ€‹

optional transformation?: NbtInput

Defined in: core/values/entities.generated.ts:234

Transformation applied to model (after normal entity orientation). Defaults to identity. Interpolated. For an easy GUI, check out Misode's tool. The value is stored in decomposed object form for interpolation & ease-of-use, Supports storing a non-canonical matrix form describing a row-major matrix, which is automatically decomposed by the game with a performance cost.


uuid? โ€‹

optional uuid?: readonly number[]

Defined in: core/values/entities.generated.ts:52

Inherited from โ€‹

EntityFields.uuid


uuidLeast? โ€‹

optional uuidLeast?: number

Defined in: core/values/entities.generated.ts:51

Lower bits of the entity's UUID.

Inherited from โ€‹

EntityFields.uuidLeast


uuidMost? โ€‹

optional uuidMost?: number

Defined in: core/values/entities.generated.ts:49

Upper bits of the entity's UUID.

Inherited from โ€‹

EntityFields.uuidMost


viewRange? โ€‹

optional viewRange?: number

Defined in: core/values/entities.generated.ts:250

Maximum view range of this entity. Actual distance depends on client-side render distance and entity distance scaling. Default value 1.0 (roughly the same as fireball).


width? โ€‹

optional width?: number

Defined in: core/values/entities.generated.ts:252

Describe width of the culling bounding box. Bounding box spans vertically from y to y+height and horizontally width/2 in all directions from the entity position. If set to 0, culling is disabled. Defaults to 0.

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.