Appearance
helix / PiglinBaseFields
Interface: PiglinBaseFields โ
Defined in: core/values/entities.generated.ts:2075
minecraft:piglin_brute
Extends โ
Extended by โ
Properties โ
absorptionAmount? โ
optionalabsorptionAmount?:number
Defined in: core/values/entities.generated.ts:773
How much absorption health it has.
Inherited from โ
activeEffects? โ
optionalactiveEffects?: readonlyNbtInput[]
Defined in: core/values/entities.generated.ts:792
Active potion effects
Inherited from โ
air? โ
optionalair?:number
Defined in: core/values/entities.generated.ts:35
Ticks of air left.
Inherited from โ
armorDropChances? โ
optionalarmorDropChances?: readonlynumber[]
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 โ
armorItems? โ
optionalarmorItems?: readonlyNbtInput[]
Defined in: core/values/entities.generated.ts:838
[feet, legs, body, head]
Inherited from โ
attributes? โ
optionalattributes?: readonlyNbtInput[]
Defined in: core/values/entities.generated.ts:790
Inherited from โ
bodyArmorDropChance? โ
optionalbodyArmorDropChance?:number
Defined in: core/values/entities.generated.ts:844
Chance to drop the item it is wearing.
Inherited from โ
bodyArmorItem? โ
optionalbodyArmorItem?:NbtInput
Defined in: core/values/entities.generated.ts:842
Used for wolf armor & llama carpet decoration.
Inherited from โ
brain? โ
optionalbrain?:NbtInput
Defined in: core/values/entities.generated.ts:789
Inherited from โ
canPickUpLoot? โ
optionalcanPickUpLoot?:boolean
Defined in: core/values/entities.generated.ts:854
Whether it can pick up loot.
Inherited from โ
currentExplosionImpactPos? โ
optionalcurrentExplosionImpactPos?: readonlynumber[]
Defined in: core/values/entities.generated.ts:748
Added mid-air after being hit by an explosion.
Inherited from โ
MobFields.currentExplosionImpactPos
currentImpulseContextResetGraceTime? โ
optionalcurrentImpulseContextResetGraceTime?:number
Defined in: core/values/entities.generated.ts:750
Used by fall damage logic. Decreases by 1 every tick.
Inherited from โ
MobFields.currentImpulseContextResetGraceTime
customName? โ
optionalcustomName?:TextComponent
Defined in: core/values/entities.generated.ts:53
Inherited from โ
customNameVisible? โ
optionalcustomNameVisible?:boolean
Defined in: core/values/entities.generated.ts:55
Whether the custom name should always be visible.
Inherited from โ
data? โ
optionaldata?:NbtInput
Defined in: core/values/entities.generated.ts:67
Any stored data
Inherited from โ
deathLootTable? โ
optionaldeathLootTable?:LootTable
Defined in: core/values/entities.generated.ts:850
Loot table that is dropped when the mob dies.
Inherited from โ
deathLootTableSeed? โ
optionaldeathLootTableSeed?:number
Defined in: core/values/entities.generated.ts:852
Seed for generating the death loot table.
Inherited from โ
deathTime? โ
optionaldeathTime?:number
Defined in: core/values/entities.generated.ts:779
Timer since it was marked as dead. Counts down to zero.
Inherited from โ
dropChances? โ
optionaldropChances?:NbtInput
Defined in: core/values/entities.generated.ts:848
Chances of the mob dropping an equipment slot on death.
Inherited from โ
equipment? โ
optionalequipment?: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 โ
fallDistance? โ
optionalfallDistance?:number
Defined in: core/values/entities.generated.ts:31
How far the entity has fallen.
Inherited from โ
fallFlying? โ
optionalfallFlying?:boolean
Defined in: core/values/entities.generated.ts:781
Whether it will glide when it falls.
Inherited from โ
fire? โ
optionalfire?: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 โ
glowing? โ
optionalglowing?:boolean
Defined in: core/values/entities.generated.ts:61
Whether the entity should glow.
Inherited from โ
handDropChances? โ
optionalhandDropChances?: readonlynumber[]
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 โ
handItems? โ
optionalhandItems?: readonlyNbtInput[]
Defined in: core/values/entities.generated.ts:834
[main hand, offhand]
Inherited from โ
hasVisualFire? โ
optionalhasVisualFire?:boolean
Defined in: core/values/entities.generated.ts:37
Whether the entity has visual fire.
Inherited from โ
health? โ
optionalhealth?:number
Defined in: core/values/entities.generated.ts:771
Inherited from โ
homePos? โ
optionalhomePos?: readonlynumber[]
Defined in: core/values/entities.generated.ts:866
This field will be discarded if home_radius is less than 0.
Inherited from โ
homeRadius? โ
optionalhomeRadius?:number
Defined in: core/values/entities.generated.ts:864
Defaults to -1, which represents "no home".
Inherited from โ
hurtByTimestamp? โ
optionalhurtByTimestamp?:number
Defined in: core/values/entities.generated.ts:777
Ticks since it was last damaged, from its creation.
Inherited from โ
hurtTime? โ
optionalhurtTime?:number
Defined in: core/values/entities.generated.ts:775
Timer since it has been damaged. Counts down to zero.
Inherited from โ
invulnerable? โ
optionalinvulnerable?:boolean
Defined in: core/values/entities.generated.ts:43
Whether the entity is immune to damage.
Inherited from โ
invulnerableTime? โ
optionalinvulnerableTime?: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 โ
isImmuneToZombification? โ
optionalisImmuneToZombification?:boolean
Defined in: core/values/entities.generated.ts:2077
Whether it will not transform to a zombified piglin when it is in the Overworld.
lastHurtByMob? โ
optionallastHurtByMob?: readonlynumber[]
Defined in: core/values/entities.generated.ts:800
The UUID of the mob that last hurt this entity. Stored for 100 ticks.
Inherited from โ
lastHurtByPlayer? โ
optionallastHurtByPlayer?: readonlynumber[]
Defined in: core/values/entities.generated.ts:796
The UUID of the player that last hurt this entity. Stored for 100 ticks.
Inherited from โ
lastHurtByPlayerMemoryTime? โ
optionallastHurtByPlayerMemoryTime?: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? โ
optionalleash?:NbtInput
Defined in: core/values/entities.generated.ts:862
What the leash is attached to.
Inherited from โ
leftHanded? โ
optionalleftHanded?:boolean
Defined in: core/values/entities.generated.ts:858
Whether it is left handed.
Inherited from โ
locatorBarIcon? โ
optionallocatorBarIcon?:WaypointIconFields
Defined in: core/values/entities.generated.ts:803
Inherited from โ
motion? โ
optionalmotion?: readonlynumber[]
Defined in: core/values/entities.generated.ts:27
Inherited from โ
noAI? โ
optionalnoAI?:boolean
Defined in: core/values/entities.generated.ts:860
Whether it should have an AI.
Inherited from โ
noGravity? โ
optionalnoGravity?:boolean
Defined in: core/values/entities.generated.ts:41
Whether the entity should be effected by gravity.
Inherited from โ
onGround? โ
optionalonGround?:boolean
Defined in: core/values/entities.generated.ts:39
Whether the entity is on the ground.
Inherited from โ
passengers? โ
optionalpassengers?: readonlyNbtInput[]
Defined in: core/values/entities.generated.ts:59
Passengers on the entity.
Inherited from โ
persistenceRequired? โ
optionalpersistenceRequired?:boolean
Defined in: core/values/entities.generated.ts:856
Whether it should not despawn naturally.
Inherited from โ
portalCooldown? โ
optionalportalCooldown?:number
Defined in: core/values/entities.generated.ts:47
How long until the entity can go through a nether portal.
Inherited from โ
pos? โ
optionalpos?: readonlynumber[]
Defined in: core/values/entities.generated.ts:26
Inherited from โ
rotation? โ
optionalrotation?: readonlynumber[]
Defined in: core/values/entities.generated.ts:29
Rotation in [y-rotation, x-rotation]
Inherited from โ
silent? โ
optionalsilent?:boolean
Defined in: core/values/entities.generated.ts:57
Whether the entity should make any sound.
Inherited from โ
sleepingPos? โ
optionalsleepingPos?: readonlynumber[]
Defined in: core/values/entities.generated.ts:788
Inherited from โ
sleepingX? โ
optionalsleepingX?:number
Defined in: core/values/entities.generated.ts:783
X coordinate of where it is sleeping.
Inherited from โ
sleepingY? โ
optionalsleepingY?:number
Defined in: core/values/entities.generated.ts:785
Y coordinate of where it is sleeping.
Inherited from โ
sleepingZ? โ
optionalsleepingZ?:number
Defined in: core/values/entities.generated.ts:787
Z coordinate of where it is sleeping.
Inherited from โ
tags? โ
optionaltags?: readonlystring[]
Defined in: core/values/entities.generated.ts:63
Labelling tags on the entity.
Inherited from โ
team? โ
optionalteam?:string
Defined in: core/values/entities.generated.ts:794
Team to join when it is spawned.
Inherited from โ
ticksFrozen? โ
optionalticksFrozen?: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 โ
ticksSinceLastHurtByMob? โ
optionalticksSinceLastHurtByMob?: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
timeInOverworld? โ
optionaltimeInOverworld?:number
Defined in: core/values/entities.generated.ts:2079
Ticks it has been in the overworld.
uuid? โ
optionaluuid?: readonlynumber[]
Defined in: core/values/entities.generated.ts:52
Inherited from โ
uuidLeast? โ
optionaluuidLeast?:number
Defined in: core/values/entities.generated.ts:51
Lower bits of the entity's UUID.
Inherited from โ
uuidMost? โ
optionaluuidMost?:number
Defined in: core/values/entities.generated.ts:49
Upper bits of the entity's UUID.