Crate azalea_entity

Crate azalea_entity 

Source

Re-exports§

pub use attributes::Attributes;

Modules§

attributes
See https://minecraft.wiki/w/Attribute.
dimensions
indexing
Stuff related to entity indexes and keeping track of entities in the world.
metadata
mining
particle
vec_delta_codec

Structs§

ActiveEffects
An ECS component that stores 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 azalea_registry::EntityKind.
EntityMetadataItems
EntityPlugin
Plugin handling some basic entity functionality.
EntityUuid
The Minecraft UUID of the entity.
FluidOnEyes
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
A component that contains the direction 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
A component that contains the abilities the player has, like flying or instantly breaking 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.
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).
apply_clamp_look_direction
clamp_look_direction
default_attributes
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