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
FieldsModifier and TypeFieldDescriptionprivate EntitySection<T> private longprivate final Tprivate final EntityFields inherited from interface net.minecraft.world.level.entity.EntityInLevelCallback
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonMove()voidonRemove(Entity.RemovalReason p_157619_) private voidupdateStatus(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:
onMovein interfaceEntityInLevelCallback
-
updateStatus
-
onRemove
- Specified by:
onRemovein interfaceEntityInLevelCallback
-