Package net.minecraft.world.entity
Interface EntityHandler<T>
- Type Parameters:
T
- the type of entity handled
- All Known Implementing Classes:
ClientWorld.ClientEntityHandler
,ServerWorld.ServerEntityHandler
public interface EntityHandler<T>
The entity handler exposes world's entity handling to entity managers.
Each handler is usually associated with a World
.
- Mappings:
Namespace Name named net/minecraft/world/entity/EntityHandler
intermediary net/minecraft/class_5576
official dww
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when an entity is newly created.void
Called when an entity is permanently destroyed.void
startTicking
(T entity) Registers an entity for ticking.void
startTracking
(T entity) Registers an entity for tracking.void
stopTicking
(T entity) Unregisters an entity for ticking.void
stopTracking
(T entity) Unregisters an entity for tracking.void
updateLoadStatus
(T entity)
-
Method Details
-
create
Called when an entity is newly created.- Parameters:
entity
- the created entity- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/world/entity/EntityHandler;create(Ljava/lang/Object;)V
intermediary method_31802
Lnet/minecraft/class_5576;method_31802(Ljava/lang/Object;)V
official g
Ldww;g(Ljava/lang/Object;)V
-
destroy
Called when an entity is permanently destroyed.- Parameters:
entity
- the destroyed entity- Mappings:
Namespace Name Mixin selector named destroy
Lnet/minecraft/world/entity/EntityHandler;destroy(Ljava/lang/Object;)V
intermediary method_31801
Lnet/minecraft/class_5576;method_31801(Ljava/lang/Object;)V
official f
Ldww;f(Ljava/lang/Object;)V
-
startTicking
Registers an entity for ticking.- Parameters:
entity
- the entity to tick- Mappings:
Namespace Name Mixin selector named startTicking
Lnet/minecraft/world/entity/EntityHandler;startTicking(Ljava/lang/Object;)V
intermediary method_31800
Lnet/minecraft/class_5576;method_31800(Ljava/lang/Object;)V
official e
Ldww;e(Ljava/lang/Object;)V
-
stopTicking
Unregisters an entity for ticking.- Parameters:
entity
- the ticked entity- Mappings:
Namespace Name Mixin selector named stopTicking
Lnet/minecraft/world/entity/EntityHandler;stopTicking(Ljava/lang/Object;)V
intermediary method_31799
Lnet/minecraft/class_5576;method_31799(Ljava/lang/Object;)V
official d
Ldww;d(Ljava/lang/Object;)V
-
startTracking
Registers an entity for tracking.- Parameters:
entity
- the entity to track- Mappings:
Namespace Name Mixin selector named startTracking
Lnet/minecraft/world/entity/EntityHandler;startTracking(Ljava/lang/Object;)V
intermediary method_31798
Lnet/minecraft/class_5576;method_31798(Ljava/lang/Object;)V
official c
Ldww;c(Ljava/lang/Object;)V
-
stopTracking
Unregisters an entity for tracking.- Parameters:
entity
- the tracked entity- Mappings:
Namespace Name Mixin selector named stopTracking
Lnet/minecraft/world/entity/EntityHandler;stopTracking(Ljava/lang/Object;)V
intermediary method_31797
Lnet/minecraft/class_5576;method_31797(Ljava/lang/Object;)V
official b
Ldww;b(Ljava/lang/Object;)V
-
updateLoadStatus
- Mappings:
Namespace Name Mixin selector named updateLoadStatus
Lnet/minecraft/world/entity/EntityHandler;updateLoadStatus(Ljava/lang/Object;)V
intermediary method_43029
Lnet/minecraft/class_5576;method_43029(Ljava/lang/Object;)V
official a
Ldww;a(Ljava/lang/Object;)V
-