Package net.minecraft.world.level.entity
Class TransientEntitySectionManager<T extends EntityAccess>
java.lang.Object
net.minecraft.world.level.entity.TransientEntitySectionManager<T>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final LevelCallback<T> private final LevelEntityGetter<T> (package private) final EntityLookup<T> (package private) static final org.slf4j.Logger(package private) final EntitySectionStorage<T> private final it.unimi.dsi.fastutil.longs.LongSet -
Constructor Summary
ConstructorsConstructorDescriptionTransientEntitySectionManager(Class<T> p_157643_, LevelCallback<T> p_157644_) -
Method Summary
Modifier and TypeMethodDescriptionvoidintcount()(package private) voidremoveSectionIfEmpty(long p_157649_, EntitySection<T> p_157650_) voidstartTicking(ChunkPos p_157652_) voidstopTicking(ChunkPos p_157659_)
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER -
callbacks
-
entityStorage
-
sectionStorage
-
tickingChunks
private final it.unimi.dsi.fastutil.longs.LongSet tickingChunks -
entityGetter
-
-
Constructor Details
-
TransientEntitySectionManager
-
-
Method Details
-
startTicking
-
stopTicking
-
getEntityGetter
-
addEntity
-
count
public int count() -
removeSectionIfEmpty
-
gatherStats
-