Appearance
helix / PotionFields
Interface: PotionFields โ
Defined in: core/values/entities.generated.ts:3086
minecraft:potion, minecraft:splash_potion, minecraft:lingering_potion
Extends โ
Properties โ
air? โ
optionalair?:number
Defined in: core/values/entities.generated.ts:35
Ticks of air left.
Inherited from โ
canBreak? โ
optionalcanBreak?:NbtInput
Defined in: core/values/entities.generated.ts:2784
Inherited from โ
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 โ
EntityFields.customNameVisible
data? โ
optionaldata?:NbtInput
Defined in: core/values/entities.generated.ts:67
Any stored data
Inherited from โ
fallDistance? โ
optionalfallDistance?:number
Defined in: core/values/entities.generated.ts:31
How far the entity has fallen.
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 โ
hasBeenShot? โ
optionalhasBeenShot?:boolean
Defined in: core/values/entities.generated.ts:2780
Whether it has been shot. This is set to true when it exists for at least one tick, and is used by the game to ensure it only triggers the projectile_shoot game event once.
Inherited from โ
ProjectileBaseFields.hasBeenShot
hasVisualFire? โ
optionalhasVisualFire?:boolean
Defined in: core/values/entities.generated.ts:37
Whether the entity has visual fire.
Inherited from โ
inGround? โ
optionalinGround?:boolean
Defined in: core/values/entities.generated.ts:3059
Whether it is in the ground.
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 โ
item? โ
optionalitem?:NbtInput
Defined in: core/values/entities.generated.ts:3090
Item representation of the potion.
leftOwner? โ
optionalleftOwner?:boolean
Defined in: core/values/entities.generated.ts:2783
Whether it has left its owner.
Inherited from โ
ProjectileBaseFields.leftOwner
motion? โ
optionalmotion?: readonlynumber[]
Defined in: core/values/entities.generated.ts:27
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 โ
owner? โ
optionalowner?:OwnerFields
Defined in: core/values/entities.generated.ts:3057
Entity that threw it.
Inherited from โ
passengers? โ
optionalpassengers?: readonlyNbtInput[]
Defined in: core/values/entities.generated.ts:59
Passengers on the entity.
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 โ
potion? โ
optionalpotion?:NbtInput
Defined in: core/values/entities.generated.ts:3088
Item representation of the potion.
rotation? โ
optionalrotation?: readonlynumber[]
Defined in: core/values/entities.generated.ts:29
Rotation in [y-rotation, x-rotation]
Inherited from โ
shake? โ
optionalshake?:number
Defined in: core/values/entities.generated.ts:3055
Shake it creates.
Inherited from โ
silent? โ
optionalsilent?:boolean
Defined in: core/values/entities.generated.ts:57
Whether the entity should make any sound.
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:65
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 โ
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.
Inherited from โ
xTile? โ
optionalxTile?:number
Defined in: core/values/entities.generated.ts:3051
Inherited from โ
yTile? โ
optionalyTile?:number
Defined in: core/values/entities.generated.ts:3052
Inherited from โ
zTile? โ
optionalzTile?:number
Defined in: core/values/entities.generated.ts:3053