Package net.minecraft.world.level.entity
Class PersistentEntitySectionManager.Callback
java.lang.Object
net.minecraft.world.level.entity.PersistentEntitySectionManager.Callback
- All Implemented Interfaces:
EntityInLevelCallback
- Enclosing class:
PersistentEntitySectionManager<T extends EntityAccess>
-
Field Summary
Modifier and TypeFieldDescriptionprivate EntitySection
<T> private long
private final T
private final Entity
Fields inherited from interface net.minecraft.world.level.entity.EntityInLevelCallback
NULL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onMove()
void
onRemove
(Entity.RemovalReason p_157619_) private void
updateStatus
(Visibility p_157621_, Visibility p_157622_)
-
Field Details
-
entity
-
realEntity
-
currentSectionKey
private long currentSectionKey -
currentSection
-
-
Constructor Details
-
Callback
Callback(T p_157614_, long p_157615_, EntitySection<T> p_157616_)
-
-
Method Details
-
onMove
public void onMove()- Specified by:
onMove
in interfaceEntityInLevelCallback
-
updateStatus
-
onRemove
- Specified by:
onRemove
in interfaceEntityInLevelCallback
-