net.minecraft.world.level.entity

public class EntitySectionStorage<T extends EntityAccess>

czh
net.minecraft.world.level.entity.EntitySectionStorage
net.minecraft.class_5573
net.minecraft.world.entity.SectionedEntityCache
net.minecraft.src.C_141285_
net.minecraft.world.level.entity.EntitySectionStorage

Field summary

Modifier and TypeField
private final Class<T>
a
entityClass
field_27250
entityClass
f_156850_
private final it.unimi.dsi.fastutil.longs.Long2ObjectFunction<Visibility>
b
intialSectionVisibility
field_27251
posToStatus
f_156851_
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<EntitySection<T>>
c
sections
field_27252
trackingSections
f_156852_
private final it.unimi.dsi.fastutil.longs.LongSortedSet
d
sectionIds
field_27253
trackedPositions
f_156853_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(dwl arg0, Consumer<czg<T>> arg1)
forEachAccessibleNonEmptySection(AABB arg0, Consumer<EntitySection<T>> arg1)
method_31777(class_238 arg0, Consumer<class_5572<T>> arg1)
forEachInBox(Box box, Consumer<EntityTrackingSection<T>> action)
m_188362_(C_3040_ p_188364_, Consumer<C_141284_<T>> arg1)
public LongStream
a(long arg0)
getExistingSectionPositionsInChunk(long arg0)
method_31772(long arg0)
getSections(long chunkPos)
m_156861_(long arg0)
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)
m_156858_(int p_156860_, int arg1)
public Stream<EntitySection<T>>
b(long arg0)
getExistingSectionsInChunk(long arg0)
method_31782(long arg0)
getTrackingSections(long chunkPos)
m_156888_(long arg0)
private static long
f(long arg0)
getChunkKeyFromSectionKey(long arg0)
method_31787(long arg0)
chunkPosFromSectionPos(long sectionPos)
m_156899_(long p_156900_)
public EntitySection<T>
c(long arg0)
getOrCreateSection(long arg0)
method_31784(long arg0)
getTrackingSection(long sectionPos)
m_156893_(long arg0)
public EntitySection<T>
d(long arg0)
getSection(long arg0)
method_31785(long arg0)
findTrackingSection(long sectionPos)
m_156895_(long arg0)
private EntitySection<T>
g(long arg0)
createSection(long arg0)
method_31788(long arg0)
addSection(long sectionPos)
m_156901_(long arg0)
public it.unimi.dsi.fastutil.longs.LongSet
a()
getAllChunksWithExistingSections()
method_31770()
getChunkPositions()
m_156857_()
public void
b(dwl arg0, Consumer<T> arg1)
getEntities(AABB arg0, Consumer<T> arg1)
method_31783(class_238 arg0, Consumer<T> arg1)
forEachIntersects(Box box, Consumer<T> action)
m_156890_(C_3040_ p_156892_, Consumer<T> arg1)
public <U extends T> void
a(czj<T, U> arg0, dwl arg1, Consumer<U> arg2)
getEntities(EntityTypeTest<T, U> arg0, AABB arg1, Consumer<U> arg2)
method_31773(class_5575<T, U> arg0, class_238 arg1, Consumer<U> arg2)
forEachIntersects(TypeFilter<T, U> filter, Box box, Consumer<U> action)
m_156863_(C_141287_<T, U> p_156865_, C_3040_ p_156866_, Consumer<U> arg2)
public void
e(long arg0)
remove(long arg0)
method_31786(long arg0)
removeSection(long sectionPos)
m_156897_(long arg0)
public int
b()
count()
method_31781()
sectionCount()
m_156887_()