net.minecraft.world.level.entity

public class EntitySectionStorage<T extends EntityAccess>

dxl
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(ewx arg0, axa<dxk<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)
m_188362_(C_3040_ p_261588_, C_260372_<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(ewx arg0, axa<T> arg1)
getEntities(AABB arg0, AbortableIterationConsumer<T> arg1)
method_31783(class_238 arg0, class_7927<T> arg1)
forEachIntersects(Box box, LazyIterationConsumer<T> consumer)
m_261111_(C_3040_ p_261992_, C_260372_<T> arg1)
public <U extends T> void
a(dxn<T, U> arg0, ewx arg1, axa<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)
m_261191_(C_141287_<T, U> p_261843_, C_3040_ p_261742_, C_260372_<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_()