Expand description
§valence_entity
Components and systems concerning Minecraft entities. This includes “zombie”, “chicken”, “player”, etc.
Bundles of components are used to spawn entities. Each entity type gets its own module here.
Modules§
- Parent class:
entity
. - Parent class:
abstract_horse
. - Parent class:
explosive_projectile
. - Parent class:
animal
. - Parent class:
entity
. - Parent class:
hostile
. - Parent class:
hostile
. - Parent class:
path_aware
. - Parent class:
mob
. - Parent class:
passive
. - Parent class:
entity
. - Parent class:
living
. - Parent class:
persistent_projectile
. - Parent class:
animal
. - Parent class:
ambient
. - Parent class:
animal
. - Parent class:
hostile
. - Parent class:
display
. - Parent class:
entity
. - Parent class:
abstract_horse
. - Parent class:
tameable
. - Parent class:
spider
. - Parent class:
boat
. - Parent class:
storage_minecart
. - Parent class:
animal
. - Parent class:
schooling_fish
. - Parent class:
abstract_minecart
. - Parent class:
animal
. - Parent class:
hostile
. - Parent class:
entity
. - Parent class:
water_creature
. - Parent class:
abstract_donkey
. - Parent class:
explosive_projectile
. - Parent class:
zombie
. - Parent class:
thrown_item
. - Parent class:
guardian
. - Parent class:
entity
. - Parent class:
mob
. - Parent class:
thrown_item
. - Parent class:
hostile
. - Parent class:
hostile
. - Parent class:
spellcasting_illager
. - Parent class:
entity
. - Parent class:
thrown_item
. - Parent class:
entity
. - Parent class:
projectile
. - Parent class:
entity
. - Parent class:
entity
. - Parent class:
abstract_fireball
. - Parent class:
projectile
. - Parent class:
water_creature
. - Parent class:
projectile
. - Parent class:
mob
. - Parent class:
animal
. - Parent class:
animal
. - Parent class:
abstract_minecart
. - Parent class:
flying
. - Parent class:
hostile
. - Parent class:
item_frame
. - Parent class:
squid
. - Parent class:
animal
. - Parent class:
path_aware
. - Parent class:
hostile
. - Parent class:
animal
. - Parent class:
storage_minecart
. - Parent class:
abstract_horse
. - Parent class:
path_aware
. - Parent class:
zombie
. - Parent class:
raider
. - Parent class:
spellcasting_illager
. - Parent class:
entity
. - Parent class:
golem
. - Parent class:
entity
. - Parent class:
display
. - Parent class:
abstract_decoration
. - Parent class:
abstract_decoration
. - Parent class:
entity
. - Parent class:
entity
. - Parent class:
abstract_donkey
. - Parent class:
projectile
. - Parent class:
slime
. - Parent class:
entity
. - Parent class:
passive
. - Parent class:
abstract_minecart
. - Parent class:
living
. - Parent class:
cow
. - Parent class:
abstract_donkey
. - Parent class:
animal
. - Parent class:
abstract_decoration
. - Parent class:
animal
. - Parent class:
tameable_shoulder
. - Parent class:
path_aware
. - Parent class:
mob
. - Parent class:
hostile
. - Parent class:
projectile
. - Parent class:
flying
. - Parent class:
animal
. - Parent class:
abstract_piglin
. - Parent class:
abstract_piglin
. - Parent class:
illager
. - Parent class:
living
. - Parent class:
animal
. - Parent class:
thrown_item
. - Parent class:
entity
. - Parent class:
fish
. - Parent class:
animal
. - Parent class:
patrol
. - Parent class:
raider
. - Parent class:
schooling_fish
. - Parent class:
fish
. - Parent class:
animal
. - Parent class:
golem
. - Parent class:
projectile
. - Parent class:
hostile
. - Parent class:
abstract_skeleton
. - Parent class:
abstract_horse
. - Parent class:
mob
. - Parent class:
abstract_fireball
. - Parent class:
animal
. - Parent class:
golem
. - Parent class:
thrown_item
. - Parent class:
abstract_minecart
. - Parent class:
persistent_projectile
. - Parent class:
illager
. - Parent class:
hostile
. - Parent class:
water_creature
. - Parent class:
abstract_minecart
. - Parent class:
abstract_skeleton
. - Parent class:
animal
. - Parent class:
fish
. - Parent class:
animal
. - Parent class:
tameable
. - Parent class:
display
. - Parent class:
projectile
. - Parent class:
thrown
. - Parent class:
entity
. - Parent class:
abstract_minecart
. - Parent class:
llama
. - Parent class:
persistent_projectile
. - Parent class:
schooling_fish
. - Parent class:
animal
. - Parent class:
hostile
. - Parent class:
merchant
. - Parent class:
illager
. - Parent class:
merchant
. - Parent class:
hostile
. - Parent class:
path_aware
. - Parent class:
raider
. - Parent class:
hostile
. - Parent class:
abstract_skeleton
. - Parent class:
explosive_projectile
. - Parent class:
tameable
. - Parent class:
hostile
. - Parent class:
hostile
. - Parent class:
abstract_horse
. - Parent class:
zombie
. - Parent class:
zombie
.
Structs§
- When entities are updated and changes from the current tick are cleared. Systems that need to observe changes to entities (Such as the difference between
Position
andOldPosition
) should run before this set (and probably afterInitEntitiesSet
). - A Minecraft entity’s ID according to the protocol.
- Identifies the type of an entity. As a component, the entity kind should not be modified.
- Contains the entity layer an entity is on.
- A
Resource
which maintains information about all spawned Minecraft entities. - When new Minecraft entities are initialized and added to
EntityManager
. - Describes the direction an entity is looking using pitch and yaw angles.
- Extra integer data passed to the entity spawn packet. The meaning depends on the type of entity being spawned.
- The value of
EntityLayerId
from the end of the previous tick. - The value of
Position
from the end of the previous tick. - When tracked data is written to the entity’s
TrackedData
component. Systems that modify tracked data should run before this. - Entity velocity in m/s.