endstone::ActorSpawnEvent
Called when an Actor is spawned into a world.
Bases: endstone::Cancellable< ActorEvent< Actor > >
Attributes:
Name | Description |
---|---|
NAME |
Functions:
Name | Description |
---|---|
ActorSpawnEvent | |
getEventName |
NAME
const std::string endstone::ActorSpawnEvent::NAME;
ActorSpawnEvent
ActorSpawnEvent(Actor &actor)
getEventName
std::string getEventName() override const
Gets a user-friendly identifier for this event.
Returns:
name of this event
Last updated on