net.minecraft.world.level.entity

public class EntitySectionStorage<T extends EntityAccess>

ebg
net.minecraft.world.level.entity.EntitySectionStorage
net.minecraft.class_5573
net.minecraft.world.entity.SectionedEntityCache
net.minecraft.world.level.entity.EntitySectionStorage

Field summary

Modifier and TypeField
public static final int
a
CHONKY_ENTITY_SEARCH_GRACE
field_52653
field_52653
public static final int
b
MAX_NON_CHONKY_ENTITY_SIZE
field_52654
field_52654
private final Class<T>
c
entityClass
field_27250
entityClass
private final it.unimi.dsi.fastutil.longs.Long2ObjectFunction<Visibility>
d
intialSectionVisibility
field_27251
posToStatus
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<EntitySection<T>>
e
sections
field_27252
trackingSections
private final it.unimi.dsi.fastutil.longs.LongSortedSet
f
sectionIds
field_27253
trackedPositions

Constructor summary

ModifierConstructor
public (Class<T> entityClass, it.unimi.dsi.fastutil.longs.Long2ObjectFunction<Visibility> chunkStatusDiscriminator)

Method summary

Modifier and TypeMethod
public void
a(faw arg0, axl<ebf<T>> arg1)
forEachAccessibleNonEmptySection(AABB arg0, AbortableIterationConsumer<EntitySection<T>> arg1)
method_31777(class_238 arg0, class_7927<class_5572<T>> arg1)
forEachInBox(Box box, LazyIterationConsumer<EntityTrackingSection<T>> consumer)
public LongStream
a(long arg0)
getExistingSectionPositionsInChunk(long arg0)
method_31772(long arg0)
getSections(long chunkPos)
private it.unimi.dsi.fastutil.longs.LongSortedSet
a(int arg0, int arg1)
getChunkSections(int arg0, int arg1)
method_31771(int arg0, int arg1)
getSections(int chunkX, int chunkZ)
public Stream<EntitySection<T>>
b(long arg0)
getExistingSectionsInChunk(long arg0)
method_31782(long arg0)
getTrackingSections(long chunkPos)
private static long
f(long arg0)
getChunkKeyFromSectionKey(long arg0)
method_31787(long arg0)
chunkPosFromSectionPos(long sectionPos)
public EntitySection<T>
c(long arg0)
getOrCreateSection(long arg0)
method_31784(long arg0)
getTrackingSection(long sectionPos)
public EntitySection<T>
d(long arg0)
getSection(long arg0)
method_31785(long arg0)
findTrackingSection(long sectionPos)
private EntitySection<T>
g(long arg0)
createSection(long arg0)
method_31788(long arg0)
addSection(long sectionPos)
public it.unimi.dsi.fastutil.longs.LongSet
a()
getAllChunksWithExistingSections()
method_31770()
getChunkPositions()
public void
b(faw arg0, axl<T> arg1)
getEntities(AABB arg0, AbortableIterationConsumer<T> arg1)
method_31783(class_238 arg0, class_7927<T> arg1)
forEachIntersects(Box box, LazyIterationConsumer<T> consumer)
public <U extends T> void
a(ebi<T, U> arg0, faw arg1, axl<U> arg2)
getEntities(EntityTypeTest<T, U> arg0, AABB arg1, AbortableIterationConsumer<U> arg2)
method_31773(class_5575<T, U> arg0, class_238 arg1, class_7927<U> arg2)
forEachIntersects(TypeFilter<T, U> filter, Box box, LazyIterationConsumer<U> consumer)
public void
e(long arg0)
remove(long arg0)
method_31786(long arg0)
removeSection(long sectionPos)
public int
b()
count()
method_31781()
sectionCount()