Expand description
Defines the Event
enum and makes those events trigger when they’re
sent in the ECS.
Structs§
- Events
Plugin - Local
Player Events - A component that contains an event sender for events that are only
received by local players. The receiver for this is returned by
Client::start_client
. - Sent
Spawn Event - A unit struct component that indicates that the entity has sent
Event::Spawn
.
Enums§
- Event
- Something that happened in-game, such as a tick passing or chat message being sent.
Functions§
- add_
player_ listener - chat_
listener - dead_
component_ listener - Send the “Death” event for
LocalEntity
s that died with no reason. - death_
listener - disconnect_
listener - init_
listener - keepalive_
listener - login_
listener - packet_
listener - receive_
chunk_ listener - remove_
player_ listener - spawn_
listener - tick_
listener - update_
player_ listener