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

helix / ZombieFields

Interface: ZombieFields โ€‹

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

minecraft:drowned, minecraft:husk, minecraft:zombie

Extends โ€‹

Extended by โ€‹

Properties โ€‹

absorptionAmount? โ€‹

optional absorptionAmount?: number

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

How much absorption health it has.

Inherited from โ€‹

MobFields.absorptionAmount


activeEffects? โ€‹

optional activeEffects?: readonly NbtInput[]

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

Active potion effects

Inherited from โ€‹

MobFields.activeEffects


air? โ€‹

optional air?: number

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

Ticks of air left.

Inherited from โ€‹

MobFields.air


armorDropChances? โ€‹

optional armorDropChances?: readonly number[]

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

Chance to drop the items it is wearing, in [feet, legs, body, head]. 0.0 is hardcoded to be unaffected by enchantments. \ Values between 0.0 and 1.0 (inclusive) randomizes durability of the dropped item.

Inherited from โ€‹

MobFields.armorDropChances


armorItems? โ€‹

optional armorItems?: readonly NbtInput[]

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

[feet, legs, body, head]

Inherited from โ€‹

MobFields.armorItems


attributes? โ€‹

optional attributes?: readonly NbtInput[]

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

Inherited from โ€‹

MobFields.attributes


bodyArmorDropChance? โ€‹

optional bodyArmorDropChance?: number

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

Chance to drop the item it is wearing.

Inherited from โ€‹

MobFields.bodyArmorDropChance


bodyArmorItem? โ€‹

optional bodyArmorItem?: NbtInput

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

Used for wolf armor & llama carpet decoration.

Inherited from โ€‹

MobFields.bodyArmorItem


brain? โ€‹

optional brain?: NbtInput

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

Inherited from โ€‹

MobFields.brain


canBreakDoors? โ€‹

optional canBreakDoors?: boolean

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

Whether it can break doors.


canPickUpLoot? โ€‹

optional canPickUpLoot?: boolean

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

Whether it can pick up loot.

Inherited from โ€‹

MobFields.canPickUpLoot


currentExplosionImpactPos? โ€‹

optional currentExplosionImpactPos?: readonly number[]

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

Added mid-air after being hit by an explosion.

Inherited from โ€‹

MobFields.currentExplosionImpactPos


currentImpulseContextResetGraceTime? โ€‹

optional currentImpulseContextResetGraceTime?: number

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

Used by fall damage logic. Decreases by 1 every tick.

Inherited from โ€‹

MobFields.currentImpulseContextResetGraceTime


customName? โ€‹

optional customName?: TextComponent

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

Inherited from โ€‹

MobFields.customName


customNameVisible? โ€‹

optional customNameVisible?: boolean

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

Whether the custom name should always be visible.

Inherited from โ€‹

MobFields.customNameVisible


data? โ€‹

optional data?: NbtInput

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

Any stored data

Inherited from โ€‹

MobFields.data


deathLootTable? โ€‹

optional deathLootTable?: LootTable

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

Loot table that is dropped when the mob dies.

Inherited from โ€‹

MobFields.deathLootTable


deathLootTableSeed? โ€‹

optional deathLootTableSeed?: number

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

Seed for generating the death loot table.

Inherited from โ€‹

MobFields.deathLootTableSeed


deathTime? โ€‹

optional deathTime?: number

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

Timer since it was marked as dead. Counts down to zero.

Inherited from โ€‹

MobFields.deathTime


dropChances? โ€‹

optional dropChances?: NbtInput

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

Chances of the mob dropping an equipment slot on death.

Inherited from โ€‹

MobFields.dropChances


drownedConversionTime? โ€‹

optional drownedConversionTime?: number

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

Ticks until it converts.


equipment? โ€‹

optional equipment?: Partial<Record<"chest" | "saddle" | "mainhand" | "offhand" | "head" | "legs" | "feet" | "body", NbtInput | ItemValue>>

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

The equipment items of the mob, such as armor or weapons.

Inherited from โ€‹

MobFields.equipment


fallDistance? โ€‹

optional fallDistance?: number

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

How far the entity has fallen.

Inherited from โ€‹

MobFields.fallDistance


fallFlying? โ€‹

optional fallFlying?: boolean

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

Whether it will glide when it falls.

Inherited from โ€‹

MobFields.fallFlying


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 โ€‹

MobFields.fire


glowing? โ€‹

optional glowing?: boolean

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

Whether the entity should glow.

Inherited from โ€‹

MobFields.glowing


handDropChances? โ€‹

optional handDropChances?: readonly number[]

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

Chance to drop the items it is holding, in [main hand, offhand]. 0.0 is hardcoded to be unaffected by enchantments. \ Values between 0.0 and 1.0 (inclusive) randomizes durability of the dropped item.

Inherited from โ€‹

MobFields.handDropChances


handItems? โ€‹

optional handItems?: readonly NbtInput[]

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

[main hand, offhand]

Inherited from โ€‹

MobFields.handItems


hasVisualFire? โ€‹

optional hasVisualFire?: boolean

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

Whether the entity has visual fire.

Inherited from โ€‹

MobFields.hasVisualFire


health? โ€‹

optional health?: number

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

Inherited from โ€‹

MobFields.health


homePos? โ€‹

optional homePos?: readonly number[]

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

This field will be discarded if home_radius is less than 0.

Inherited from โ€‹

MobFields.homePos


homeRadius? โ€‹

optional homeRadius?: number

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

Defaults to -1, which represents "no home".

Inherited from โ€‹

MobFields.homeRadius


hurtByTimestamp? โ€‹

optional hurtByTimestamp?: number

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

Ticks since it was last damaged, from its creation.

Inherited from โ€‹

MobFields.hurtByTimestamp


hurtTime? โ€‹

optional hurtTime?: number

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

Timer since it has been damaged. Counts down to zero.

Inherited from โ€‹

MobFields.hurtTime


invulnerable? โ€‹

optional invulnerable?: boolean

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

Whether the entity is immune to damage.

Inherited from โ€‹

MobFields.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 โ€‹

MobFields.invulnerableTime


inWaterTime? โ€‹

optional inWaterTime?: number

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

Ticks it has been in the water.


isBaby? โ€‹

optional isBaby?: boolean

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

Whether it is a baby.


lastHurtByMob? โ€‹

optional lastHurtByMob?: readonly number[]

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

The UUID of the mob that last hurt this entity. Stored for 100 ticks.

Inherited from โ€‹

MobFields.lastHurtByMob


lastHurtByPlayer? โ€‹

optional lastHurtByPlayer?: readonly number[]

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

The UUID of the player that last hurt this entity. Stored for 100 ticks.

Inherited from โ€‹

MobFields.lastHurtByPlayer


lastHurtByPlayerMemoryTime? โ€‹

optional lastHurtByPlayerMemoryTime?: number

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

Amount of ticks that this entity will remember the player that last hurt this entity. Counts down from 100 to 0.

Inherited from โ€‹

MobFields.lastHurtByPlayerMemoryTime


leash? โ€‹

optional leash?: NbtInput

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

What the leash is attached to.

Inherited from โ€‹

MobFields.leash


leftHanded? โ€‹

optional leftHanded?: boolean

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

Whether it is left handed.

Inherited from โ€‹

MobFields.leftHanded


locatorBarIcon? โ€‹

optional locatorBarIcon?: WaypointIconFields

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

Inherited from โ€‹

MobFields.locatorBarIcon


motion? โ€‹

optional motion?: readonly number[]

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

Inherited from โ€‹

MobFields.motion


noAI? โ€‹

optional noAI?: boolean

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

Whether it should have an AI.

Inherited from โ€‹

MobFields.noAI


noGravity? โ€‹

optional noGravity?: boolean

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

Whether the entity should be effected by gravity.

Inherited from โ€‹

MobFields.noGravity


onGround? โ€‹

optional onGround?: boolean

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

Whether the entity is on the ground.

Inherited from โ€‹

MobFields.onGround


passengers? โ€‹

optional passengers?: readonly NbtInput[]

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

Passengers on the entity.

Inherited from โ€‹

MobFields.passengers


persistenceRequired? โ€‹

optional persistenceRequired?: boolean

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

Whether it should not despawn naturally.

Inherited from โ€‹

MobFields.persistenceRequired


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 โ€‹

MobFields.portalCooldown


pos? โ€‹

optional pos?: readonly number[]

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

Inherited from โ€‹

MobFields.pos


rotation? โ€‹

optional rotation?: readonly number[]

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

Rotation in [y-rotation, x-rotation]

Inherited from โ€‹

MobFields.rotation


silent? โ€‹

optional silent?: boolean

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

Whether the entity should make any sound.

Inherited from โ€‹

MobFields.silent


sleepingPos? โ€‹

optional sleepingPos?: readonly number[]

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

Inherited from โ€‹

MobFields.sleepingPos


sleepingX? โ€‹

optional sleepingX?: number

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

X coordinate of where it is sleeping.

Inherited from โ€‹

MobFields.sleepingX


sleepingY? โ€‹

optional sleepingY?: number

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

Y coordinate of where it is sleeping.

Inherited from โ€‹

MobFields.sleepingY


sleepingZ? โ€‹

optional sleepingZ?: number

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

Z coordinate of where it is sleeping.

Inherited from โ€‹

MobFields.sleepingZ


tags? โ€‹

optional tags?: readonly string[]

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

Labelling tags on the entity.

Inherited from โ€‹

MobFields.tags


team? โ€‹

optional team?: string

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

Team to join when it is spawned.

Inherited from โ€‹

MobFields.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 โ€‹

MobFields.ticksFrozen


ticksSinceLastHurtByMob? โ€‹

optional ticksSinceLastHurtByMob?: number

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

Amount of ticks since this entity was last hurt by a mob. Counts up from 0 to 100.

Inherited from โ€‹

MobFields.ticksSinceLastHurtByMob


uuid? โ€‹

optional uuid?: readonly number[]

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

Inherited from โ€‹

MobFields.uuid


uuidLeast? โ€‹

optional uuidLeast?: number

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

Lower bits of the entity's UUID.

Inherited from โ€‹

MobFields.uuidLeast


uuidMost? โ€‹

optional uuidMost?: number

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

Upper bits of the entity's UUID.

Inherited from โ€‹

MobFields.uuidMost

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