net.minecraft.world.level.chunk

public class LevelChunk

implements ChunkAccess

chj
net.minecraft.world.level.chunk.LevelChunk
net.minecraft.class_2818
net.minecraft.unmapped.C_hrdsvlkq
net.minecraft.world.chunk.WorldChunk
net.minecraft.world.chunk.Chunk
net.minecraft.server.v1_16_R1.Chunk

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
b
LOGGER
field_12839
f_hqpxrtdf
LOGGER
field_150817_t
public static final LevelChunkSection
a
EMPTY_SECTION
field_12852
f_qmhjebkr
EMPTY_SECTION
field_186036_a
private final LevelChunkSection[]
c
sections
field_12840
f_jgnmrbkn
sections
field_76652_q
sections
private ChunkBiomeContainer
d
biomes
field_20655
f_vvkrpijp
biomeArray
field_76651_r
private final Map<BlockPos, CompoundTag>
e
pendingBlockEntities
field_12846
f_rkerduno
pendingBlockEntityTags
field_201618_i
private boolean
f
loaded
field_12855
f_rdafyequ
loadedToWorld
field_76636_d
loaded
private final Level
g
level
field_12858
f_qhshpxlr
world
field_76637_e
world
private final Map<Heightmap$Types, Heightmap>
h
heightmaps
field_12853
f_lkzltkck
heightmaps
field_76634_f
heightMap
private final UpgradeData
i
upgradeData
field_12849
f_bbjyextk
upgradeData
field_196967_n
private final Map<BlockPos, BlockEntity>
j
blockEntities
field_12854
f_sucmeozx
blockEntities
field_150816_i
tileEntities
private final ClassInstanceMultiMap<Entity>[]
k
entitySections
field_12833
f_aiqkjxpp
entitySections
field_76645_j
entitySlices
private final Map<StructureFeature<?>, StructureStart<?>>
l
structureStarts
field_12838
f_dyaawmmn
structureStarts
field_201619_q
private final Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet>
m
structuresRefences
field_12845
f_mwmxfjwb
structureReferences
field_201620_r
private final it.unimi.dsi.fastutil.shorts.ShortList[]
n
postProcessing
field_12836
f_zczpidfa
postProcessingLists
field_201622_t
private TickList<Block>
o
blockTicks
field_12841
f_dyxtvrkw
blockTickScheduler
field_201621_s
private TickList<Fluid>
p
liquidTicks
field_12857
f_cbidioig
fluidTickScheduler
field_205325_u
private boolean
q
lastSaveHadEntities
field_12837
f_cxjaoufw
unsaved
field_76644_m
private long
r
lastSaveTime
field_12844
f_bdvlmhxa
lastSaveTime
field_76641_n
lastSaved
private volatile boolean
s
unsaved
field_12834
f_mctatxnv
shouldSave
field_76643_l
private long
t
inhabitedTime
field_12843
f_oyyaqsie
inhabitedTime
field_111204_q
inhabitedTime
private Supplier<ChunkHolder$FullChunkStatus>
u
fullStatus
field_12856
f_inkzvkbq
levelTypeProvider
field_217329_u
private Consumer<LevelChunk>
v
postLoad
field_12850
f_ufsiahiv
loadToWorldConsumer
field_217330_v
private final ChunkPos
w
chunkPos
field_12848
f_wtndqhbs
pos
field_212816_F
loc
private volatile boolean
x
isLightCorrect
field_12847
f_sfiicgjo
lightOn
field_217331_x

Constructor summary

ModifierConstructor
public (Level world, ChunkPos pos, ChunkBiomeContainer biomes)
public (Level world, ChunkPos pos, ChunkBiomeContainer biomes, UpgradeData upgradeData, TickList<Block> blockTickScheduler, TickList<Fluid> fluidTickScheduler, long inhabitedTime, LevelChunkSection[] sections, Consumer<LevelChunk> loadToWorldConsumer)
public (Level world, ProtoChunk protoChunk)

Method summary

Modifier and TypeMethod
public Heightmap
a(cio$a arg0)
getOrCreateHeightmapUnprimed(Heightmap$Types arg0)
method_12032(class_2902$class_2903 arg0)
m_pmdbdcxs(C_ybztoekc$C_wkdeqzbn arg0)
getHeightmap(Heightmap$Type arg0)
func_217303_b(Heightmap$Type arg0)
public Set<BlockPos>
c()
getBlockEntitiesPos()
method_12021()
m_lbczmzpt()
getBlockEntityPositions()
func_203066_o()
public LevelChunkSection[]
d()
getSections()
method_12006()
m_coitboyr()
getSectionArray()
func_76587_i()
getSections()
public BlockState
d_(fu arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
m_cwgupilf(C_hynzadkk arg0)
getBlockState(BlockPos arg0)
func_180495_p(BlockPos arg0)
getType(BlockPosition arg0)
public FluidState
b(fu arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
m_ldbsxred(C_hynzadkk arg0)
getFluidState(BlockPos arg0)
func_204610_c(BlockPos arg0)
getFluid(BlockPosition arg0)
public FluidState
a(int arg0, int arg1, int arg2)
getFluidState(int arg0, int arg1, int arg2)
method_12234(int arg0, int arg1, int arg2)
m_azkhtstp(int arg0, int arg1, int arg2)
getFluidState(int x, int y, int z)
func_205751_b(int arg0, int arg1, int arg2)
public BlockState
a(fu arg0, cfj arg1, boolean arg2)
setBlockState(BlockPos arg0, BlockState arg1, boolean arg2)
method_12010(class_2338 arg0, class_2680 arg1, boolean arg2)
m_qhwssies(C_hynzadkk arg0, C_txtbiemp arg1, boolean arg2)
setBlockState(BlockPos arg0, BlockState arg1, boolean arg2)
func_177436_a(BlockPos arg0, BlockState arg1, boolean arg2)
setType(BlockPosition arg0, IBlockData arg1, boolean arg2)
public LevelLightEngine
e()
getLightEngine()
method_12023()
m_kjckudvp()
getLightingProvider()
func_217307_e()
public void
a(aom arg0)
addEntity(Entity arg0)
method_12002(class_1297 arg0)
m_blkwaqtb(C_astfners arg0)
addEntity(Entity arg0)
func_76612_a(Entity arg0)
public void
a(cio$a arg0, long[] arg1)
setHeightmap(Heightmap$Types arg0, long[] arg1)
method_12037(class_2902$class_2903 arg0, long[] arg1)
m_vydgjigk(C_ybztoekc$C_wkdeqzbn arg0, long[] arg1)
setHeightmap(Heightmap$Type arg0, long[] arg1)
func_201607_a(Heightmap$Type arg0, long[] arg1)
public void
b(aom arg0)
removeEntity(Entity arg0)
method_12203(class_1297 arg0)
m_hedqoexe(C_astfners arg0)
remove(Entity entity)
func_76622_b(Entity arg0)
public void
a(aom arg0, int arg1)
removeEntity(Entity arg0, int arg1)
method_12219(class_1297 arg0, int arg1)
m_jgsnibmo(C_astfners arg0, int arg1)
remove(Entity entity, int section)
func_76608_a(Entity arg0, int arg1)
public int
a(cio$a arg0, int arg1, int arg2)
getHeight(Heightmap$Types arg0, int arg1, int arg2)
method_12005(class_2902$class_2903 arg0, int arg1, int arg2)
m_deudsvnt(C_ybztoekc$C_wkdeqzbn arg0, int arg1, int arg2)
sampleHeightmap(Heightmap$Type arg0, int arg1, int arg2)
func_201576_a(Heightmap$Type arg0, int arg1, int arg2)
getHighestBlock(HeightMap$Type arg0, int arg1, int arg2)
private BlockEntity
j(fu arg0)
createBlockEntity(BlockPos arg0)
method_12208(class_2338 arg0)
m_vrgotbps(C_hynzadkk arg0)
createBlockEntity(BlockPos pos)
func_177422_i(BlockPos arg0)
public BlockEntity
c(fu arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
m_ufqcrdbx(C_hynzadkk arg0)
getBlockEntity(BlockPos arg0)
func_175625_s(BlockPos arg0)
getTileEntity(BlockPosition arg0)
public BlockEntity
a(fu arg0, chj$a arg1)
getBlockEntity(BlockPos arg0, LevelChunk$EntityCreationType arg1)
method_12201(class_2338 arg0, class_2818$class_2819 arg1)
m_opcnnkyf(C_hynzadkk arg0, C_hrdsvlkq$C_pwlgmnmf arg1)
getBlockEntity(BlockPos pos, WorldChunk$CreationType creationType)
func_177424_a(BlockPos arg0, Chunk$CreateEntityType arg1)
public void
a(cdl arg0)
addBlockEntity(BlockEntity arg0)
method_12216(class_2586 arg0)
m_bzrlpyxf(C_kvegafmh arg0)
addBlockEntity(BlockEntity blockEntity)
func_150813_a(TileEntity arg0)
public void
a(fu arg0, cdl arg1)
setBlockEntity(BlockPos arg0, BlockEntity arg1)
method_12007(class_2338 arg0, class_2586 arg1)
m_hguftcvs(C_hynzadkk arg0, C_kvegafmh arg1)
setBlockEntity(BlockPos arg0, BlockEntity arg1)
func_177426_a(BlockPos arg0, TileEntity arg1)
setTileEntity(BlockPosition arg0, TileEntity arg1)
public void
a(le arg0)
setBlockEntityNbt(CompoundTag arg0)
method_12042(class_2487 arg0)
m_vczfecac(C_hhlwcnih arg0)
addPendingBlockEntityTag(CompoundTag arg0)
func_201591_a(CompoundNBT arg0)
public CompoundTag
i(fu arg0)
getBlockEntityNbtForSaving(BlockPos arg0)
method_20598(class_2338 arg0)
m_smvmtzoy(C_hynzadkk arg0)
getPackedBlockEntityTag(BlockPos arg0)
func_223134_j(BlockPos arg0)
public void
d(fu arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
m_uwgruiru(C_hynzadkk arg0)
removeBlockEntity(BlockPos arg0)
func_177425_e(BlockPos arg0)
removeTileEntity(BlockPosition arg0)
public void
w()
runPostLoad()
method_12206()
m_dlmhpxiw()
loadToWorld()
func_217318_w()
addEntities()
public void
s()
markUnsaved()
method_12220()
m_iednnztd()
markDirty()
func_76630_e()
markDirty()
public void
a(aom arg0, deg arg1, List<aom> arg2, Predicate<? super aom> arg3)
getEntities(Entity arg0, AABB arg1, List<Entity> arg2, Predicate<? super Entity> arg3)
method_12205(class_1297 arg0, class_238 arg1, List<class_1297> arg2, Predicate<? super class_1297> arg3)
m_izmqyxgf(C_astfners arg0, C_hbcjzgoe arg1, List<C_astfners> arg2, Predicate<? super C_astfners> arg3)
getEntities(Entity except, Box box, List<Entity> entityList, Predicate<? super Entity> predicate)
func_177414_a(Entity arg0, AxisAlignedBB arg1, List<Entity> arg2, Predicate<? super Entity> arg3)
public <T extends Entity> void
a(aoq<?> arg0, deg arg1, List<? super T> arg2, Predicate<? super T> arg3)
getEntities(EntityType<?> arg0, AABB arg1, List<? super T> arg2, Predicate<? super T> arg3)
method_18029(class_1299<?> arg0, class_238 arg1, List<? super T> arg2, Predicate<? super T> arg3)
m_pqqonnqz(C_ogavsvbr<?> arg0, C_hbcjzgoe arg1, List<? super T> arg2, Predicate<? super T> arg3)
getEntities(EntityType<?> type, Box box, List<? super T> entityList, Predicate<? super T> predicate)
func_217313_a(EntityType<?> arg0, AxisAlignedBB arg1, List<? super T> arg2, Predicate<? super T> arg3)
public <T extends Entity> void
a(Class<? extends T> arg0, deg arg1, List<T> arg2, Predicate<? super T> arg3)
getEntitiesOfClass(Class<? extends T> arg0, AABB arg1, List<T> arg2, Predicate<? super T> arg3)
method_12210(Class<? extends T> arg0, class_238 arg1, List<T> arg2, Predicate<? super T> arg3)
m_rwvnyoyh(Class<? extends T> arg0, C_hbcjzgoe arg1, List<T> arg2, Predicate<? super T> arg3)
getEntities(Class<? extends T> entityClass, Box box, List<T> entityList, Predicate<? super T> predicate)
func_177430_a(Class<? extends T> arg0, AxisAlignedBB arg1, List<T> arg2, Predicate<? super T> arg3)
public boolean
t()
isEmpty()
method_12223()
m_coxrfges()
isEmpty()
func_76621_g()
isEmpty()
public ChunkPos
g()
getPos()
method_12004()
m_oeshvinu()
getPos()
func_76632_l()
getPos()
public ChunkBiomeContainer
i()
getBiomes()
method_12036()
m_wcezurnx()
getBiomeArray()
func_225549_i_()
getBiomeIndex()
public void
c(boolean arg0)
setLoaded(boolean arg0)
method_12226(boolean arg0)
m_okywrsjj(boolean arg0)
setLoadedToWorld(boolean loaded)
func_177417_c(boolean arg0)
setLoaded(boolean arg0)
public Level
x()
getLevel()
method_12200()
m_gezsisut()
getWorld()
func_177412_p()
getWorld()
public Collection<Map$Entry<Heightmap$Types, Heightmap>>
f()
getHeightmaps()
method_12011()
m_xkejgfig()
getHeightmaps()
func_217311_f()
public Map<BlockPos, BlockEntity>
y()
getBlockEntities()
method_12214()
m_bwzlcsiw()
getBlockEntities()
func_177434_r()
getTileEntities()
public ClassInstanceMultiMap<Entity>[]
z()
getEntitySections()
method_12215()
m_cjwjdaey()
getEntitySectionArray()
func_177429_s()
getEntitySlices()
public CompoundTag
f(fu arg0)
getBlockEntityNbt(BlockPos arg0)
method_12024(class_2338 arg0)
m_sogpxvqe(C_hynzadkk arg0)
getBlockEntityTag(BlockPos arg0)
func_201579_g(BlockPos arg0)
public Stream<BlockPos>
m()
getLights()
method_12018()
m_hehmhcmj()
getLightSourcesStream()
func_217304_m()
public TickList<Block>
n()
getBlockTicks()
method_12013()
m_fmezrwqz()
getBlockTickScheduler()
func_205218_i_()
public TickList<Fluid>
o()
getLiquidTicks()
method_12014()
m_olpwbnsq()
getFluidTickScheduler()
func_212247_j()
public void
a(boolean arg0)
setUnsaved(boolean arg0)
method_12008(boolean arg0)
m_jcgsgwwo(boolean arg0)
setShouldSave(boolean arg0)
func_177427_f(boolean arg0)
setNeedsSaving(boolean arg0)
public boolean
j()
isUnsaved()
method_12044()
m_fhrvmsma()
needsSaving()
func_201593_f()
isNeedsSaving()
public void
d(boolean arg0)
setLastSaveHadEntities(boolean arg0)
method_12232(boolean arg0)
m_vlyxqhom(boolean arg0)
setUnsaved(boolean unsaved)
func_177409_g(boolean arg0)
public void
a(long arg0)
setLastSaveTime(long arg0)
method_12043(long arg0)
m_wmxqirdp(long arg0)
setLastSaveTime(long arg0)
func_177432_b(long arg0)
setLastSaved(long arg0)
public StructureStart<?>
a(cml<?> arg0)
getStartForFeature(StructureFeature<?> arg0)
method_12181(class_3195<?> arg0)
m_ewbgzgif(C_vvmtobpf<?> arg0)
getStructureStart(StructureFeature<?> arg0)
func_230342_a_(Structure<?> arg0)
public void
a(cml<?> arg0, ctz<?> arg1)
setStartForFeature(StructureFeature<?> arg0, StructureStart<?> arg1)
method_12184(class_3195<?> arg0, class_3449<?> arg1)
m_dwajtiei(C_vvmtobpf<?> arg0, C_efiavfys<?> arg1)
setStructureStart(StructureFeature<?> arg0, StructureStart<?> arg1)
func_230344_a_(Structure<?> arg0, StructureStart<?> arg1)
public Map<StructureFeature<?>, StructureStart<?>>
h()
getAllStarts()
method_12016()
m_itzisycv()
getStructureStarts()
func_201609_c()
public void
a(Map<cml<?>, ctz<?>> arg0)
setAllStarts(Map<StructureFeature<?>, StructureStart<?>> arg0)
method_12034(Map<class_3195<?>, class_3449<?>> arg0)
m_rirvxrfe(Map<C_vvmtobpf<?>, C_efiavfys<?>> arg0)
setStructureStarts(Map<StructureFeature<?>, StructureStart<?>> arg0)
func_201612_a(Map<Structure<?>, StructureStart<?>> arg0)
public it.unimi.dsi.fastutil.longs.LongSet
b(cml<?> arg0)
getReferencesForFeature(StructureFeature<?> arg0)
method_12180(class_3195<?> arg0)
m_kminhxue(C_vvmtobpf<?> arg0)
getStructureReferences(StructureFeature<?> arg0)
func_230346_b_(Structure<?> arg0)
public void
a(cml<?> arg0, long arg1)
addReferenceForFeature(StructureFeature<?> arg0, long arg1)
method_12182(class_3195<?> arg0, long arg1)
m_mlrsznfc(C_vvmtobpf<?> arg0, long arg1)
addStructureReference(StructureFeature<?> arg0, long arg1)
func_230343_a_(Structure<?> arg0, long arg1)
public Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet>
v()
getAllReferences()
method_12179()
m_xngtobam()
getStructureReferences()
func_201604_d()
public void
b(Map<cml<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setAllReferences(Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
method_12183(Map<class_3195<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
m_valtinfh(Map<C_vvmtobpf<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setStructureReferences(Map<StructureFeature<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
func_201606_b(Map<Structure<?>, it.unimi.dsi.fastutil.longs.LongSet> arg0)
public long
q()
getInhabitedTime()
method_12033()
m_yuipgvpr()
getInhabitedTime()
func_177416_w()
getInhabitedTime()
public void
b(long arg0)
setInhabitedTime(long arg0)
method_12028(long arg0)
m_qaecgkls(long arg0)
setInhabitedTime(long arg0)
func_177415_c(long arg0)
setInhabitedTime(long arg0)
public void
A()
postProcessGeneration()
method_12221()
m_hltgjisj()
runPostProcessing()
func_201595_A()
private BlockEntity
a(fu arg0, le arg1)
promotePendingBlockEntity(BlockPos arg0, CompoundTag arg1)
method_12204(class_2338 arg0, class_2487 arg1)
m_ylwhpkzq(C_hynzadkk arg0, C_hhlwcnih arg1)
loadBlockEntity(BlockPos pos, CompoundTag tag)
func_212815_a(BlockPos arg0, CompoundNBT arg1)
public UpgradeData
p()
getUpgradeData()
method_12003()
m_ifohhonx()
getUpgradeData()
func_196966_y()
public it.unimi.dsi.fastutil.shorts.ShortList[]
l()
getPostProcessing()
method_12012()
m_eoqbertz()
getPostProcessingLists()
func_201614_D()
public void
B()
unpackTicks()
method_20530()
m_txdtyywn()
disableTickSchedulers()
func_222879_B()
public void
a(zd arg0)
packTicks(ServerLevel arg0)
method_20471(class_3218 arg0)
m_shxygirf(C_bdwnwhiu arg0)
enableTickSchedulers(ServerWorld world)
func_222880_a(ServerWorld arg0)
public ChunkStatus
k()
getStatus()
method_12009()
m_qkpdcbbf()
getStatus()
func_201589_g()
getChunkStatus()
public ChunkHolder$FullChunkStatus
u()
getFullStatus()
method_12225()
m_yvcrzojm()
getLevelType()
func_217321_u()
getState()
public void
a(Supplier<yo$b> arg0)
setFullStatus(Supplier<ChunkHolder$FullChunkStatus> arg0)
method_12207(Supplier<class_3193$class_3194> arg0)
m_axphhprv(Supplier<C_gkderdjo$C_yzdkhkui> arg0)
setLevelTypeProvider(Supplier<ChunkHolder$LevelType> levelTypeProvider)
func_217314_a(Supplier<ChunkHolder$LocationType> arg0)
public boolean
r()
isLightCorrect()
method_12038()
m_ryislatp()
isLightOn()
func_217310_r()
public void
b(boolean arg0)
setLightCorrect(boolean arg0)
method_12020(boolean arg0)
m_yrcpifpe(boolean arg0)
setLightOn(boolean arg0)
func_217305_b(boolean arg0)
public void
a(cgz arg0, mg arg1, le arg2, int arg3)
replaceWithPacketData(ChunkBiomeContainer arg0, FriendlyByteBuf arg1, CompoundTag arg2, int arg3)
method_12224(class_4548 arg0, class_2540 arg1, class_2487 arg2, int arg3)
m_xrygtomw(C_mqtnhitc arg0, C_idfydwco arg1, C_hhlwcnih arg2, int arg3)
loadFromPacket(BiomeArray biomes, PacketByteBuf buf, CompoundTag tag, int verticalStripBitmask)
func_227073_a_(BiomeContainer arg0, PacketBuffer arg1, CompoundNBT arg2, int arg3)