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 reason) private voidupdateStatus(Visibility oldVisibility, Visibility newVisibility)
-
Field Details
-
entity
-
realEntity
-
currentSectionKey
private long currentSectionKey -
currentSection
-
-
Constructor Details
-
Callback
Callback(T entity, long currentSectionKey, EntitySection<T> currentSection)
-
-
Method Details
-
onMove
public void onMove()- Specified by:
onMovein interfaceEntityInLevelCallback
-
updateStatus
-
onRemove
- Specified by:
onRemovein interfaceEntityInLevelCallback
-