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
ConstructorsConstructorDescriptionCallback(T pEntity, long pCurrentSectionKey, EntitySection<T> pCurrentSection) -
Method Summary
Modifier and TypeMethodDescriptionvoidonMove()voidonRemove(Entity.RemovalReason p_157619_) private voidupdateStatus(Visibility pOldVisibility, Visibility pNewVisibility)
-
Field Details
-
entity
-
realEntity
-
currentSectionKey
private long currentSectionKey -
currentSection
-
-
Constructor Details
-
Callback
Callback(T pEntity, long pCurrentSectionKey, EntitySection<T> pCurrentSection)
-
-
Method Details
-
onMove
public void onMove()- Specified by:
onMovein interfaceEntityInLevelCallback
-
updateStatus
-
onRemove
- Specified by:
onRemovein interfaceEntityInLevelCallback
-