Monsters
Monster
¶
Monster(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Creature
Base monster entity extending Creature.
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Creeper
¶
Creeper(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Creeper entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for creepers. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the creeper. |
state
property
¶
state: int
Creeper state.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The creeper's current state (-1 = idle, 1 = fuse). |
is_charged
property
¶
is_charged: bool
Whether creeper is charged.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the creeper is charged, False otherwise. |
is_ignited
property
¶
is_ignited: bool
Whether creeper is ignited.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the creeper is ignited, False otherwise. |
is_fusing
property
¶
is_fusing: bool
Whether creeper is in fuse state.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the creeper is currently fusing (about to explode), 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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Spider
¶
Spider(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Spider entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for spiders. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the spider. |
is_climbing
property
¶
is_climbing: bool
Whether spider is climbing (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the spider is climbing, 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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
CaveSpider
¶
CaveSpider(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Spider
Cave Spider entity extending Spider.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for cave spiders. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the cave spider. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
is_climbing
property
¶
is_climbing: bool
Whether spider is climbing (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the spider is climbing, False otherwise. |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Zombie
¶
Zombie(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Zombie entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for zombies. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the zombie. |
is_baby
property
¶
is_baby: bool
Whether zombie is a baby.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the zombie is a baby, False otherwise. |
unused_type
property
¶
unused_type: int
Unused type field.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The unused type value. |
are_hands_held_up
property
¶
are_hands_held_up: bool
Whether zombie has hands held up.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the zombie has hands held up, 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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
ZombieVillager
¶
ZombieVillager(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Zombie
Zombie Villager entity extending Zombie.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for zombie villagers. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the zombie villager. |
is_converting
property
¶
is_converting: bool
Whether zombie villager is converting.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the zombie villager is converting, False otherwise. |
profession
property
¶
profession: int
Zombie villager profession.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The profession ID of the zombie villager. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
is_baby
property
¶
is_baby: bool
Whether zombie is a baby.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the zombie is a baby, False otherwise. |
unused_type
property
¶
unused_type: int
Unused type field.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The unused type value. |
are_hands_held_up
property
¶
are_hands_held_up: bool
Whether zombie has hands held up.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the zombie has hands held up, False otherwise. |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
PigZombie
¶
PigZombie(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Pig Zombie (Zombified Piglin) entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for pig zombies. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the pig zombie. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Husk
¶
Husk(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Zombie
Husk entity extending Zombie.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for husks. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the husk. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
is_baby
property
¶
is_baby: bool
Whether zombie is a baby.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the zombie is a baby, False otherwise. |
unused_type
property
¶
unused_type: int
Unused type field.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The unused type value. |
are_hands_held_up
property
¶
are_hands_held_up: bool
Whether zombie has hands held up.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the zombie has hands held up, False otherwise. |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Giant
¶
Giant(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Giant Zombie entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for giants. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the giant. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Slime
¶
Slime(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Slime entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for slimes. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the slime. Note: Actual size is 0.51000005 * size for both dimensions. |
size
property
¶
size: int
Slime size.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The size of the slime (affects bounding box and health). |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
LavaSlime
¶
LavaSlime(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Slime
Lava Slime (Magma Cube).
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for magma cubes. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the magma cube. Note: Actual size is 0.51000005 * size for both dimensions. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
size
property
¶
size: int
Slime size.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The size of the slime (affects bounding box and health). |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Blaze
¶
Blaze(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Blaze entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for blazes. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the blaze. |
is_on_fire
property
¶
is_on_fire: bool
Whether blaze is on fire (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the blaze is on fire, 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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Enderman
¶
Enderman(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Enderman entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for endermen. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the enderman. |
carried_block
property
¶
is_screaming
property
¶
is_screaming: bool
Whether enderman is screaming.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the enderman is screaming, 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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Endermite
¶
Endermite(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Endermite entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for endermites. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the endermite. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Silverfish
¶
Silverfish(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Silverfish entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for silverfish. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the silverfish. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Witch
¶
Witch(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Witch entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for witches. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the witch. |
is_drinking_potion
property
¶
is_drinking_potion: bool
Whether witch is drinking potion.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the witch is drinking a potion, 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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Guardian
¶
Guardian(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Guardian entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for guardians. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the guardian. |
is_retracting_spikes
property
¶
is_retracting_spikes: bool
Whether guardian is retracting spikes.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the guardian is retracting spikes, False otherwise. |
target_eid
property
¶
target_eid: int
Target entity ID.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The entity ID of the guardian's target. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
ElderGuardian
¶
ElderGuardian(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Guardian
Elder Guardian entity extending Guardian.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for elder guardians. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the elder guardian. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
is_retracting_spikes
property
¶
is_retracting_spikes: bool
Whether guardian is retracting spikes.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the guardian is retracting spikes, False otherwise. |
target_eid
property
¶
target_eid: int
Target entity ID.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The entity ID of the guardian's target. |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Shulker
¶
Shulker(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Shulker entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for shulkers. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the shulker. Note: Height varies from 1.0 to 2.0 depending on peek state. |
facing_direction
property
¶
facing_direction: int
Facing direction.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The facing direction (Down=0, Up=1, North=2, South=3, West=4, East=5). |
attachment_position
property
¶
shield_height
property
¶
shield_height: int
Shield height.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The height of the shulker's shield. |
color
property
¶
color: int
Dye color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The dye color ID (default purple = 10). |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
WitherBoss
¶
WitherBoss(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Wither Boss entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for the wither boss. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the wither boss. |
center_head_target
property
¶
center_head_target: int
Center head's target entity ID.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The entity ID of the center head's target. |
left_head_target
property
¶
left_head_target: int
Left head's target entity ID.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The entity ID of the left head's target. |
right_head_target
property
¶
right_head_target: int
Right head's target entity ID.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The entity ID of the right head's target. |
invulnerable_time
property
¶
invulnerable_time: int
Invulnerable time.
| RETURNS | DESCRIPTION |
|---|---|
int
|
The remaining invulnerable time in ticks. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Vex
¶
Vex(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
Vex entity.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for vexes. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the vex. |
is_in_attack_mode
property
¶
is_in_attack_mode: bool
Whether vex is in attack mode (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the vex is in attack mode, 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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
AbstractSkeleton
¶
AbstractSkeleton(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: Monster
AbstractSkeleton entity base class.
This is the base class for all skeleton-type entities.
is_swinging_arms
property
¶
is_swinging_arms: bool
Whether skeleton is swinging arms.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the skeleton is swinging arms, 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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Skeleton
¶
Skeleton(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: AbstractSkeleton
Skeleton entity extending AbstractSkeleton.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for skeletons. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the skeleton. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
is_swinging_arms
property
¶
is_swinging_arms: bool
Whether skeleton is swinging arms.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the skeleton is swinging arms, False otherwise. |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
WitherSkeleton
¶
WitherSkeleton(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: AbstractSkeleton
Wither Skeleton entity extending AbstractSkeleton.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for wither skeletons. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the wither skeleton. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
is_swinging_arms
property
¶
is_swinging_arms: bool
Whether skeleton is swinging arms.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the skeleton is swinging arms, False otherwise. |
update_metadata
¶
update_properties
¶
get_attribute
¶
get_metadata_value
¶
Stray
¶
Stray(
entity_id: int,
uuid: str,
position: Vector3D[float],
rotation: Rotation,
metadata: Dict[int, Any],
)
Bases: AbstractSkeleton
Stray entity extending AbstractSkeleton.
| ATTRIBUTE | DESCRIPTION |
|---|---|
ENTITY_TYPE |
The Minecraft entity type identifier for strays. |
BOUNDING |
The bounding box dimensions (width/depth, height) of the stray. |
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 |
equipment
property
¶
has_equipment
property
¶
has_equipment: bool
Check if the entity has any equipment.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity has equipment, False otherwise. |
hand_states
property
¶
hand_states: int
Hand state bit mask.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Bit mask containing hand usage states |
health
property
¶
health: float
Current health value.
| RETURNS | DESCRIPTION |
|---|---|
float
|
Current health points remaining |
potion_effect_color
property
¶
potion_effect_color: int
Potion effect particle color.
| RETURNS | DESCRIPTION |
|---|---|
int
|
RGB color value for potion effect particles |
is_potion_effect_ambient
property
¶
is_potion_effect_ambient: bool
Whether potion effect is ambient.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if potion effect particles are ambient (less visible) |
arrows_in_entity
property
¶
arrows_in_entity: int
Number of arrows stuck in entity.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Count of arrows visually stuck in the entity |
is_hand_active
property
¶
is_hand_active: bool
Whether hand is active (using item).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity is currently using an item with their hand |
active_hand
property
¶
active_hand: int
Which hand is active (0=main, 1=off).
| RETURNS | DESCRIPTION |
|---|---|
int
|
Hand index: 0 for main hand, 1 for off-hand |
no_ai
property
¶
no_ai: bool
Whether AI is disabled (bit 0).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity's AI behavior is disabled |
left_handed
property
¶
left_handed: bool
Whether entity is left-handed (bit 1).
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if entity prefers using left hand for actions |
is_swinging_arms
property
¶
is_swinging_arms: bool
Whether skeleton is swinging arms.
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the skeleton is swinging arms, False otherwise. |