Projectiles
Projectile
¶
Projectile(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Entity
Base projectile entity class.
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Arrow
¶
Arrow(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Arrow projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for arrows. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the arrow. |
shooter_entity_id
property
¶
shooter_entity_id: int
Returns the entity ID of the shooter who fired the arrow.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The actual entity ID of the shooter. |
is_critical
property
¶
is_critical: bool
Whether the arrow is critical (deals extra damage).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if arrow is critical, False otherwise. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
TippedArrow
¶
TippedArrow(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Arrow
Tipped arrow projectile entity with potion effects.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for tipped arrows. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the tipped arrow. |
color
property
¶
color: int
Particle color for tipped arrows.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Color value (-1 for no particles, regular arrows). |
is_tipped
property
¶
is_tipped: bool
Whether this is a tipped arrow with potion effects.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if arrow has potion effects, False for regular arrows. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
shooter_entity_id
property
¶
shooter_entity_id: int
Returns the entity ID of the shooter who fired the arrow.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The actual entity ID of the shooter. |
is_critical
property
¶
is_critical: bool
Whether the arrow is critical (deals extra damage).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if arrow is critical, False otherwise. |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
SpectralArrow
¶
SpectralArrow(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Spectral arrow projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for spectral arrows. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the spectral arrow. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Snowball
¶
Snowball(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Snowball projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for snowballs. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the snowball. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Egg
¶
Egg(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Thrown egg projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for eggs. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the egg. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Potion
¶
Potion(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Thrown potion projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for potions. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the potion. |
potion_item
property
¶
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
ExpBottle
¶
ExpBottle(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Thrown experience bottle projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for experience bottles. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the experience bottle. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Enderpearl
¶
Enderpearl(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Thrown ender pearl projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for ender pearls. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the ender pearl. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
EyeOfEnderSignal
¶
EyeOfEnderSignal(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Eye of Ender signal projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for eye of ender signals. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the eye of ender signal. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Fireball
¶
Fireball(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Large fireball projectile entity (ghast).
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for fireballs. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the fireball. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
SmallFireball
¶
SmallFireball(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Small fireball projectile entity (blaze).
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for small fireballs. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the small fireball. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
DragonFireball
¶
DragonFireball(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Dragon fireball projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for dragon fireballs. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the dragon fireball. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
WitherSkull
¶
WitherSkull(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Wither skull projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for wither skulls. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the wither skull. |
is_invulnerable
property
¶
is_invulnerable: bool
Whether the wither skull is invulnerable to damage.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the wither skull is invulnerable, False otherwise. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
ShulkerBullet
¶
ShulkerBullet(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Shulker bullet projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for shulker bullets. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the shulker bullet. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
LlamaSpit
¶
LlamaSpit(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Llama spit projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for llama spit. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the llama spit. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
FireworksRocket
¶
FireworksRocket(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Projectile
Fireworks rocket projectile entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for fireworks rockets. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the fireworks rocket. |
air
property
¶
air: int
Remaining air ticks.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of air ticks remaining before drowning |
custom_name
property
¶
is_custom_name_visible
property
¶
is_custom_name_visible: bool
Whether custom name is visible above entity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if custom name should be displayed above the entity |
is_silent
property
¶
is_silent: bool
Whether entity makes sounds.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is silent and won't produce sounds |
no_gravity
property
¶
no_gravity: bool
Whether entity is affected by gravity.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity ignores gravity effects |
max_health
property
¶
max_health: float
Maximum health attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Maximum health points for this entity |
movement_speed
property
¶
movement_speed: float
Movement speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Movement speed multiplier for this entity |
armor
property
¶
armor: float
Armor attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Armor points providing damage reduction |
attack_speed
property
¶
attack_speed: float
Attack speed attribute value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Attack speed multiplier for this entity |
on_fire
property
¶
on_fire: bool
Whether entity is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently on fire |
crouched
property
¶
crouched: bool
Whether entity is crouching (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is in crouching state |
sprinting
property
¶
sprinting: bool
Whether entity is sprinting (bit 3).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently sprinting |
invisible
property
¶
invisible: bool
Whether entity is invisible (bit 5).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has invisibility effect active |
glowing
property
¶
glowing: bool
Whether entity is glowing (bit 6).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has glowing outline effect |
flying_with_elytra
property
¶
flying_with_elytra: bool
Whether entity is flying with elytra (bit 7).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is gliding with elytra wings |