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

helix / ArrowFields

Interface: ArrowFields โ€‹

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

minecraft:arrow

Extends โ€‹

Properties โ€‹

air? โ€‹

optional air?: number

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

Ticks of air left.

Inherited from โ€‹

ArrowBaseFields.air


canBreak? โ€‹

optional canBreak?: NbtInput

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

Inherited from โ€‹

ArrowBaseFields.canBreak


color? โ€‹

optional color?: number

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

Color of the arrow's potion bubble trail particles. calculated as RED << 16 | GREEN << 8 | BLUE. Each of these fields must be between 0 and 255, inclusive.


crit? โ€‹

optional crit?: boolean

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

Whether it should do critical damage.

Inherited from โ€‹

ArrowBaseFields.crit


customName? โ€‹

optional customName?: TextComponent

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

Inherited from โ€‹

ArrowBaseFields.customName


customNameVisible? โ€‹

optional customNameVisible?: boolean

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

Whether the custom name should always be visible.

Inherited from โ€‹

ArrowBaseFields.customNameVisible


customPotionEffects? โ€‹

optional customPotionEffects?: readonly NbtInput[]

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

Effects to give to the hit entity.


damage? โ€‹

optional damage?: number

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

Damage it should deal.

Inherited from โ€‹

ArrowBaseFields.damage


data? โ€‹

optional data?: NbtInput

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

Any stored data

Inherited from โ€‹

ArrowBaseFields.data


fallDistance? โ€‹

optional fallDistance?: number

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

How far the entity has fallen.

Inherited from โ€‹

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

ArrowBaseFields.fire


glowing? โ€‹

optional glowing?: boolean

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

Whether the entity should glow.

Inherited from โ€‹

ArrowBaseFields.glowing


hasBeenShot? โ€‹

optional hasBeenShot?: 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 โ€‹

ArrowBaseFields.hasBeenShot


hasVisualFire? โ€‹

optional hasVisualFire?: boolean

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

Whether the entity has visual fire.

Inherited from โ€‹

ArrowBaseFields.hasVisualFire


inBlockState? โ€‹

optional inBlockState?: NbtInput

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

Block it is in.

Inherited from โ€‹

ArrowBaseFields.inBlockState


inGround? โ€‹

optional inGround?: boolean

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

Whether it is in the ground.

Inherited from โ€‹

ArrowBaseFields.inGround


invulnerable? โ€‹

optional invulnerable?: boolean

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

Whether the entity is immune to damage.

Inherited from โ€‹

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

ArrowBaseFields.invulnerableTime


item? โ€‹

optional item?: NbtInput

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

Inherited from โ€‹

ArrowBaseFields.item


leftOwner? โ€‹

optional leftOwner?: boolean

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

Whether it has left its owner.

Inherited from โ€‹

ArrowBaseFields.leftOwner


life? โ€‹

optional life?: number

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

Ticks since it last moved.

Inherited from โ€‹

ArrowBaseFields.life


motion? โ€‹

optional motion?: readonly number[]

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

Inherited from โ€‹

ArrowBaseFields.motion


noGravity? โ€‹

optional noGravity?: boolean

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

Whether the entity should be effected by gravity.

Inherited from โ€‹

ArrowBaseFields.noGravity


onGround? โ€‹

optional onGround?: boolean

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

Whether the entity is on the ground.

Inherited from โ€‹

ArrowBaseFields.onGround


owner? โ€‹

optional owner?: readonly number[]

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

Inherited from โ€‹

ArrowBaseFields.owner


ownerUUIDLeast? โ€‹

optional ownerUUIDLeast?: number

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

Lower bits of the owner's UUID.

Inherited from โ€‹

ArrowBaseFields.ownerUUIDLeast


ownerUUIDMost? โ€‹

optional ownerUUIDMost?: number

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

Upper bits of the owner's UUID.

Inherited from โ€‹

ArrowBaseFields.ownerUUIDMost


passengers? โ€‹

optional passengers?: readonly NbtInput[]

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

Passengers on the entity.

Inherited from โ€‹

ArrowBaseFields.passengers


pickup? โ€‹

optional pickup?: NbtInput

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

How players can pick up it.

Inherited from โ€‹

ArrowBaseFields.pickup


pierceLevel? โ€‹

optional pierceLevel?: number

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

Number of entities it can pass through.

Inherited from โ€‹

ArrowBaseFields.pierceLevel


player? โ€‹

optional player?: boolean

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

Whether a player shot it.

Inherited from โ€‹

ArrowBaseFields.player


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

ArrowBaseFields.portalCooldown


pos? โ€‹

optional pos?: readonly number[]

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

Inherited from โ€‹

ArrowBaseFields.pos


potion? โ€‹

optional potion?: MobEffect

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

Name of the default potion effect.


rotation? โ€‹

optional rotation?: readonly number[]

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

Rotation in [y-rotation, x-rotation]

Inherited from โ€‹

ArrowBaseFields.rotation


shake? โ€‹

optional shake?: number

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

Shake it creates.

Inherited from โ€‹

ArrowBaseFields.shake


shotFromCrossbow? โ€‹

optional shotFromCrossbow?: boolean

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

Whether it was shot from a crossbow.

Inherited from โ€‹

ArrowBaseFields.shotFromCrossbow


silent? โ€‹

optional silent?: boolean

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

Whether the entity should make any sound.

Inherited from โ€‹

ArrowBaseFields.silent


soundEvent? โ€‹

optional soundEvent?: SoundEvent

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

Sound event to play when it hits something. Can only be vanilla sound events

Inherited from โ€‹

ArrowBaseFields.soundEvent


tags? โ€‹

optional tags?: readonly string[]

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

Labelling tags on the entity.

Inherited from โ€‹

ArrowBaseFields.tags


team? โ€‹

optional team?: string

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

Team to join when it is spawned.

Inherited from โ€‹

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

ArrowBaseFields.ticksFrozen


uuid? โ€‹

optional uuid?: readonly number[]

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

Inherited from โ€‹

ArrowBaseFields.uuid


uuidLeast? โ€‹

optional uuidLeast?: number

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

Lower bits of the entity's UUID.

Inherited from โ€‹

ArrowBaseFields.uuidLeast


uuidMost? โ€‹

optional uuidMost?: number

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

Upper bits of the entity's UUID.

Inherited from โ€‹

ArrowBaseFields.uuidMost


weapon? โ€‹

optional weapon?: NbtInput

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

The item which has shot this arrow.

Inherited from โ€‹

ArrowBaseFields.weapon

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