Package net.minecraft.world.level.entity
Class TransientEntitySectionManager<T extends EntityAccess>
java.lang.Object
net.minecraft.world.level.entity.TransientEntitySectionManager<T>
-
Nested Class Summary
-
Field Summary
Modifier 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
ConstructorDescriptionTransientEntitySectionManager
(Class<T> p_157643_, LevelCallback<T> p_157644_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
count()
(package private) void
removeSectionIfEmpty
(long p_157649_, EntitySection<T> p_157650_) void
startTicking
(ChunkPos p_157652_) void
stopTicking
(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
-