Expand description
Common base functionality shared by all entities.
EntityBase contains the core fields and methods that every entity needs.
Entities embed this struct and delegate common Entity trait methods to it.
Re-exportsยง
pub use fire_freeze::EntityFireFreezeState;pub use movement::EntityGroundContact;pub use movement::EntityMovement;pub use movement::EntityMovementEmission;pub use movement::EntityMovementFlags;pub use movement::EntityMovementProgress;pub use movement::EntityVerticalMovementStateUpdate;pub use persistence::EntityBaseLoad;pub use persistence::EntityBaseSaveData;pub use relationships::PendingWorldChangeToken;
Modulesยง
- fire_
freeze ๐ - movement ๐
- persistence ๐
- relationships ๐
Structsยง
- Entity
Amethyst Step Sound - Sound parameters for vanilla amethyst step chimes.
- Entity
Base - Common fields and methods shared by all entities.
- Entity
Base State - Vanilla
Entitymovement state stored as one locked snapshot. - Entity
Movement ๐Trace - Entity
Physics ๐State Input - Entity
Piston ๐Movement - Per-tick piston movement accumulated by vanilla
Entity.limitPistonMovement.
Constantsยง
- DEFAULT_
MAX_ AIR_ SUPPLY - Default vanilla
Entity.getMaxAirSupplyvalue. - DEFAULT_
TICKS_ REQUIRED_ TO_ FREEZE - Default vanilla
Entity.getTicksRequiredToFreezevalue. - FIRE_
IGNITE_ ๐TICKS - LAVA_
IGNITE_ ๐TICKS - MAX_
ENTITY_ TAGS - Vanilla scoreboard tag limit for a single entity.
- MOVEMENT_
TRACE_ ๐LIMIT - MOVEMENT_
TRACE_ ๐POSITION_ EPSILON_ SQ - PISTON_
APPLIED_ ๐MOVEMENT_ EPSILON - PISTON_
MOVEMENT_ ๐LIMIT - PISTON_
ZERO_ ๐MOVEMENT_ EPSILON - STUCK_
SPEED_ ๐MULTIPLIER_ EPSILON
Functionsยง
- normalize_
rotation ๐ - require_
finite_ ๐position