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) LevelCallback<T>private LevelEntityGetter<T>(package private) EntityLookup<T>(package private) static org.apache.logging.log4j.Logger(package private) EntitySectionStorage<T>private 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.apache.logging.log4j.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
-