EntityEvent

Types

Link copied to clipboard
class EntityOnTickEvent(entity: Entity) : ContextEvent<Entity, Entity.(level: Level) -> Unit>

Properties

Link copied to clipboard

Register a tick event for this entity.

Functions

Link copied to clipboard

Clear all script-owned entity handlers before scripts are reloaded.

Link copied to clipboard
Link copied to clipboard
fun rebindLoadedEntities(server: MinecraftServer)

Re-apply handlers for entities that are already loaded.