Crate azalea_entity

Crate azalea_entity 

Source
Expand description

§azalea-entity

Features related to Minecraft entities used by Azalea.

Re-exports§

pub use attributes::Attributes;

Modules§

attributes
Attributes and modifiers for entities.
dimensions
indexing
Stuff related to entity indexes and keeping track of entities in the world.
inventory
metadata
Metadata fields stored on entities.
mining
particle
vec_delta_codec

Structs§

ActiveEffects
The active mob effects on an entity.
Crouching
A component that indicates whether the player is currently sneaking.
Dead
Marker component for entities that are dead.
EntityBundle
A bundle of components that every entity has.
EntityDataItem
EntityKindComponent
A component NewType for [EntityKind].
EntityMetadataItems
EntityPlugin
Plugin handling some basic entity functionality.
EntityUuid
The Minecraft UUID of the entity.
FluidOnEyes
The type of fluid that is at an entity’s eye position, while also accounting for fluid height.
HasClientLoaded
A component that indicates whether the client has loaded.
InLoadedChunk
Marks an entity that’s in a loaded chunk. This is updated at the beginning of every tick.
Jumping
A component for entities that can jump.
LastSentPosition
The second most recent position of the entity that was sent over the network.
LoadedBy
A component that lists all the local player entities that have this entity loaded.
LocalEntity
A marker component that signifies that this entity is “local” and shouldn’t be updated by other clients.
LookDirection
The direction that an entity is looking, in degrees.
MobEffectData
Data about an active mob effect.
OnClimbable
OptionalUnsignedInt
Physics
The physics data relating to the entity, such as position, velocity, and bounding box.
PlayerAbilities
The abilities that a player has, such as flying or being able to instantly break blocks.
Position
The position of the entity right now.
Quaternion
RelativeEntityUpdate
An [EntityCommand] that applies a “relative update” to an entity, which means this update won’t be run multiple times by different clients in the same world.
Rotations
A set of x, y, and z rotations. This is used for armor stands.
VillagerData

Enums§

ArmadilloStateKind
CopperGolemStateKind
EntityDataValue
EntityUpdateSystems
A Bevy [SystemSet] for various types of entity updates.
HumanoidArm
Pose
SnifferStateKind
WeatheringCopperStateKind

Functions§

add_dead
System that adds the Dead marker component if an entity’s health is set to 0 (or less than 0).
clamp_look_direction
input_vector
move_relative
on_pos
on_pos_legacy
Get the position of the block below the entity, but a little lower.
update_bounding_box
Sets the position of the entity.
update_crouching
update_dimensions
update_fluid_on_eyes
update_in_loaded_chunk
Update the InLoadedChunk component for all entities in the world.
update_on_climbable
view_vector