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

helix / FallingBlockFields

Interface: FallingBlockFields โ€‹

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

minecraft:falling_block

Extends โ€‹

Properties โ€‹

air? โ€‹

optional air?: number

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

Ticks of air left.

Inherited from โ€‹

EntityFields.air


blockState? โ€‹

optional blockState?: BlockValue<string>

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

Block state for the placed block. Defaults to sand.


cancelDrop? โ€‹

optional cancelDrop?: boolean

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

Whether the block should be destroyed instead of placed after landing on a solid block. When true, the block is not dropped as an item, even if the DropItem tag is set to true. However, if the entity is deleted due to its Time value being too high, this tag is ignored and an item is dropped depending on the DropItem tag. Defaults to 1 for falling suspicious sand and suspicious gravel, and 0 for the other vanilla falling blocks and any summoned falling block.


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


dropItem? โ€‹

optional dropItem?: boolean

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

Whether it should drop as a block when destroyed.


fallDistance? โ€‹

optional fallDistance?: number

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

How far the entity has fallen.

Inherited from โ€‹

EntityFields.fallDistance


fallHurtAmount? โ€‹

optional fallHurtAmount?: number

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

Damage multiplier.


fallHurtMax? โ€‹

optional fallHurtMax?: number

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

Maximum damage it should deal.


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


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


hurtEntities? โ€‹

optional hurtEntities?: boolean

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

Whether this it should hurt entities.


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


silent? โ€‹

optional silent?: boolean

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

Whether the entity should make any sound.

Inherited from โ€‹

EntityFields.silent


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


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


tileEntityData? โ€‹

optional tileEntityData?: NbtInput

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

NBT data for the placed block.


time? โ€‹

optional time?: number

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

Ticks it has existed.


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

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