net.minecraft.world.level.chunk

public class LevelChunk

implements ChunkAccess

cal
net.minecraft.world.level.chunk.LevelChunk
net.minecraft.class_2818
net.minecraft.world.chunk.WorldChunk
net.minecraft.world.chunk.Chunk
net.minecraft.server.v1_15_R1.Chunk

Field summary

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

Constructor summary

ModifierConstructor
public (Level arg0, ChunkPos arg1, ChunkBiomeContainer arg2)
public (Level arg0, ChunkPos arg1, ChunkBiomeContainer arg2, UpgradeData arg3, TickList<Block> arg4, TickList<Fluid> arg5, long arg6, LevelChunkSection[] arg7, Consumer<LevelChunk> arg8)
public (Level world, ProtoChunk arg1)

Method summary

Modifier and TypeMethod
public Heightmap
a(cbv$a arg0)
getOrCreateHeightmapUnprimed(Heightmap$Types arg0)
method_12032(class_2902$class_2903 arg0)
getHeightmap(Heightmap$Type arg0)
func_217303_b(Heightmap$Type arg0)
public Set<BlockPos>
c()
getBlockEntitiesPos()
method_12021()
getBlockEntityPositions()
func_203066_o()
public LevelChunkSection[]
d()
getSections()
method_12006()
getSectionArray()
func_76587_i()
getSections()
public BlockState
d_(fk arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos arg0)
func_180495_p(BlockPos arg0)
getType(BlockPosition arg0)
public FluidState
b(fk arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 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)
getFluidState(int x, int y, int arg2)
func_205751_b(int arg0, int arg1, int arg2)
public BlockState
a(fk arg0, byj arg1, boolean arg2)
setBlockState(BlockPos arg0, BlockState arg1, boolean arg2)
method_12010(class_2338 arg0, class_2680 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()
getLightingProvider()
func_217307_e()
public void
a(akq arg0)
addEntity(Entity arg0)
method_12002(class_1297 arg0)
addEntity(Entity arg0)
func_76612_a(Entity arg0)
public void
a(cbv$a arg0, long[] arg1)
setHeightmap(Heightmap$Types arg0, long[] arg1)
method_12037(class_2902$class_2903 arg0, long[] arg1)
setHeightmap(Heightmap$Type arg0, long[] arg1)
func_201607_a(Heightmap$Type arg0, long[] arg1)
public void
b(akq arg0)
removeEntity(Entity arg0)
method_12203(class_1297 arg0)
remove(Entity arg0)
func_76622_b(Entity arg0)
public void
a(akq arg0, int arg1)
removeEntity(Entity arg0, int arg1)
method_12219(class_1297 arg0, int arg1)
remove(Entity entity, int arg1)
func_76608_a(Entity arg0, int arg1)
public int
a(cbv$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)
sampleHeightmap(Heightmap$Type arg0, int arg1, int arg2)
func_201576_a(Heightmap$Type arg0, int arg1, int arg2)
private BlockEntity
j(fk arg0)
createBlockEntity(BlockPos arg0)
method_12208(class_2338 arg0)
createBlockEntity(BlockPos arg0)
func_177422_i(BlockPos arg0)
public BlockEntity
c(fk arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos arg0)
func_175625_s(BlockPos arg0)
getTileEntity(BlockPosition arg0)
public BlockEntity
a(fk arg0, cal$a arg1)
getBlockEntity(BlockPos arg0, LevelChunk$EntityCreationType arg1)
method_12201(class_2338 arg0, class_2818$class_2819 arg1)
getBlockEntity(BlockPos pos, WorldChunk$CreationType arg1)
func_177424_a(BlockPos arg0, Chunk$CreateEntityType arg1)
public void
a(bwl arg0)
addBlockEntity(BlockEntity arg0)
method_12216(class_2586 arg0)
addBlockEntity(BlockEntity arg0)
func_150813_a(TileEntity arg0)
public void
a(fk arg0, bwl arg1)
setBlockEntity(BlockPos arg0, BlockEntity arg1)
method_12007(class_2338 arg0, class_2586 arg1)
setBlockEntity(BlockPos arg0, BlockEntity arg1)
func_177426_a(BlockPos arg0, TileEntity arg1)
setTileEntity(BlockPosition arg0, TileEntity arg1)
public void
a(jt arg0)
setBlockEntityNbt(CompoundTag arg0)
method_12042(class_2487 arg0)
addPendingBlockEntityTag(CompoundTag arg0)
func_201591_a(CompoundNBT arg0)
public CompoundTag
i(fk arg0)
getBlockEntityNbtForSaving(BlockPos arg0)
method_20598(class_2338 arg0)
func_223134_j(BlockPos arg0)
public void
d(fk arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
removeBlockEntity(BlockPos arg0)
func_177425_e(BlockPos arg0)
removeTileEntity(BlockPosition arg0)
public void
w()
runPostLoad()
method_12206()
loadToWorld()
func_217318_w()
addEntities()
public void
s()
markUnsaved()
method_12220()
markDirty()
func_76630_e()
markDirty()
public void
a(akq arg0, cvf arg1, List<akq> arg2, Predicate<? super akq> 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)
getEntities(Entity except, Box box, List<Entity> entityList, Predicate<? super Entity> arg3)
func_177414_a(Entity arg0, AxisAlignedBB arg1, List<Entity> arg2, Predicate<? super Entity> arg3)
public <T extends Entity> void
a(aku<?> arg0, cvf 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)
getEntities(EntityType<?> type, Box box, List<? super T> list, 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, cvf 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)
getEntities(Class<? extends T> entityClass, Box box, List<T> result, 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()
isEmpty()
func_76621_g()
isEmpty()
public ChunkPos
g()
getPos()
method_12004()
getPos()
func_76632_l()
getPos()
public ChunkBiomeContainer
i()
getBiomes()
method_12036()
getBiomeArray()
func_225549_i_()
getBiomeIndex()
public void
c(boolean arg0)
setLoaded(boolean arg0)
method_12226(boolean arg0)
setLoadedToWorld(boolean arg0)
func_177417_c(boolean arg0)
setLoaded(boolean arg0)
public Level
x()
getLevel()
method_12200()
getWorld()
func_177412_p()
getWorld()
public Collection<Map$Entry<Heightmap$Types, Heightmap>>
f()
getHeightmaps()
method_12011()
getHeightmaps()
func_217311_f()
public Map<BlockPos, BlockEntity>
y()
getBlockEntities()
method_12214()
getBlockEntities()
func_177434_r()
getTileEntities()
public ClassInstanceMultiMap<Entity>[]
z()
getEntitySections()
method_12215()
getEntitySectionArray()
func_177429_s()
getEntitySlices()
public CompoundTag
f(fk arg0)
getBlockEntityNbt(BlockPos arg0)
method_12024(class_2338 arg0)
getBlockEntityTagAt(BlockPos arg0)
func_201579_g(BlockPos arg0)
public Stream<BlockPos>
m()
getLights()
method_12018()
getLightSourcesStream()
func_217304_m()
public TickList<Block>
n()
getBlockTicks()
method_12013()
getBlockTickScheduler()
func_205218_i_()
public TickList<Fluid>
o()
getLiquidTicks()
method_12014()
getFluidTickScheduler()
func_212247_j()
public void
a(boolean arg0)
setUnsaved(boolean arg0)
method_12008(boolean arg0)
setShouldSave(boolean arg0)
func_177427_f(boolean arg0)
setNeedsSaving(boolean arg0)
public boolean
j()
isUnsaved()
method_12044()
needsSaving()
func_201593_f()
isNeedsSaving()
public void
d(boolean arg0)
setLastSaveHadEntities(boolean arg0)
method_12232(boolean arg0)
setUnsaved(boolean unsaved)
func_177409_g(boolean arg0)
public void
a(long arg0)
setLastSaveTime(long arg0)
method_12043(long arg0)
setLastSaveTime(long arg0)
func_177432_b(long arg0)
setLastSaved(long arg0)
public StructureStart
a(String arg0)
getStartForFeature(String arg0)
method_12181(String arg0)
getStructureStart(String arg0)
func_201585_a(String arg0)
public void
a(String arg0, clv arg1)
setStartForFeature(String arg0, StructureStart arg1)
method_12184(String arg0, class_3449 arg1)
setStructureStart(String arg0, StructureStart arg1)
func_201584_a(String arg0, StructureStart arg1)
public Map<String, StructureStart>
h()
getAllStarts()
method_12016()
getStructureStarts()
func_201609_c()
public void
a(Map<String, clv> arg0)
setAllStarts(Map<String, StructureStart> arg0)
method_12034(Map<String, class_3449> arg0)
setStructureStarts(Map<String, StructureStart> arg0)
func_201612_a(Map<String, StructureStart> arg0)
public it.unimi.dsi.fastutil.longs.LongSet
b(String arg0)
getReferencesForFeature(String arg0)
method_12180(String arg0)
getStructureReferences(String arg0)
func_201578_b(String arg0)
public void
a(String arg0, long arg1)
addReferenceForFeature(String arg0, long arg1)
method_12182(String arg0, long arg1)
addStructureReference(String arg0, long arg1)
func_201583_a(String arg0, long arg1)
public Map<String, it.unimi.dsi.fastutil.longs.LongSet>
v()
getAllReferences()
method_12179()
getStructureReferences()
func_201604_d()
public void
b(Map<String, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setAllReferences(Map<String, it.unimi.dsi.fastutil.longs.LongSet> arg0)
method_12183(Map<String, it.unimi.dsi.fastutil.longs.LongSet> arg0)
setStructureReferences(Map<String, it.unimi.dsi.fastutil.longs.LongSet> arg0)
func_201606_b(Map<String, it.unimi.dsi.fastutil.longs.LongSet> arg0)
public long
q()
getInhabitedTime()
method_12033()
getInhabitedTime()
func_177416_w()
getInhabitedTime()
public void
b(long arg0)
setInhabitedTime(long arg0)
method_12028(long arg0)
setInhabitedTime(long arg0)
func_177415_c(long arg0)
setInhabitedTime(long arg0)
public void
A()
postProcessGeneration()
method_12221()
runPostProcessing()
func_201595_A()
private BlockEntity
a(fk arg0, jt arg1)
promotePendingBlockEntity(BlockPos arg0, CompoundTag arg1)
method_12204(class_2338 arg0, class_2487 arg1)
loadBlockEntity(BlockPos pos, CompoundTag arg1)
func_212815_a(BlockPos arg0, CompoundNBT arg1)
public UpgradeData
p()
getUpgradeData()
method_12003()
getUpgradeData()
func_196966_y()
public it.unimi.dsi.fastutil.shorts.ShortList[]
l()
getPostProcessing()
method_12012()
getPostProcessingLists()
func_201614_D()
public void
B()
unpackTicks()
method_20530()
disableTickSchedulers()
func_222879_B()
public void
a(xd arg0)
packTicks(ServerLevel arg0)
method_20471(class_3218 arg0)
enableTickSchedulers(ServerWorld world)
func_222880_a(ServerWorld arg0)
public ChunkStatus
k()
getStatus()
method_12009()
getStatus()
func_201589_g()
getChunkStatus()
public ChunkHolder$FullChunkStatus
u()
getFullStatus()
method_12225()
getLevelType()
func_217321_u()
getState()
public void
a(Supplier<wo$b> arg0)
setFullStatus(Supplier<ChunkHolder$FullChunkStatus> arg0)
method_12207(Supplier<class_3193$class_3194> arg0)
setLevelTypeProvider(Supplier<ChunkHolder$LevelType> levelTypeProvider)
func_217314_a(Supplier<ChunkHolder$LocationType> arg0)
public boolean
r()
isLightCorrect()
method_12038()
isLightOn()
func_217310_r()
public void
b(boolean arg0)
setLightCorrect(boolean arg0)
method_12020(boolean arg0)
setLightOn(boolean arg0)
func_217305_b(boolean arg0)
public void
a(bzz arg0, kv arg1, jt 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)
loadFromPacket(BiomeArray arg0, PacketByteBuf arg1, CompoundTag arg2, int arg3)
func_227073_a_(BiomeContainer arg0, PacketBuffer arg1, CompoundNBT arg2, int arg3)