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§
- Active
Effects - 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.
- Entity
Bundle - A bundle of components that every entity has.
- Entity
Data Item - Entity
Kind Component - A component NewType for
azalea_registry::EntityKind. - Entity
Metadata Items - Entity
Plugin - Plugin handling some basic entity functionality.
- Entity
Uuid - The Minecraft UUID of the entity.
- Fluid
OnEyes - HasClient
Loaded - A component that indicates whether the client has loaded.
- InLoaded
Chunk - 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.
- Last
Sent Position - The second most recent position of the entity that was sent over the network.
- Loaded
By - A component that lists all the local player entities that have this entity loaded.
- Local
Entity - A marker component that signifies that this entity is “local” and shouldn’t be updated by other clients.
- Look
Direction - A component that contains the direction an entity is looking, in degrees.
- MobEffect
Data - Data about an active mob effect.
- OnClimbable
- Optional
Unsigned Int - Physics
- The physics data relating to the entity, such as position, velocity, and bounding box.
- Player
Abilities - A component that contains the abilities the player has, like flying or instantly breaking blocks.
- Position
- The position of the entity right now.
- Quaternion
- Relative
Entity Update - 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.
- Villager
Data
Enums§
- Armadillo
State Kind - Copper
Golem State Kind - Entity
Data Value - Entity
Update Systems - A Bevy [
SystemSet] for various types of entity updates. - Pose
- Sniffer
State Kind - Weathering
Copper State Kind
Functions§
- add_
dead - System that adds the
Deadmarker 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
InLoadedChunkcomponent for all entities in the world. - update_
on_ climbable - view_
vector