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

helix / TntFields

Interface: TntFields โ€‹

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

minecraft:tnt

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:3105

Defaults to tnt.


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


explosionPower? โ€‹

optional explosionPower?: number

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


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


fuse? โ€‹

optional fuse?: number

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

Ticks until it explodes.


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


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


owner? โ€‹

optional owner?: readonly number[]

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

The entity that primed this TNT.


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


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.