net.minecraft.world.level.chunk

public class ProtoChunk

extends ChunkAccess

All mapped superinterfaces:

BlockGetter, LevelHeightAccessor, BiomeManager$NoiseBiomeSource, LightChunk, StructureAccess

dvs
net.minecraft.world.level.chunk.ProtoChunk
net.minecraft.class_2839
net.minecraft.world.chunk.ProtoChunk
net.minecraft.src.C_2147_
net.minecraft.world.level.chunk.ProtoChunk

Field summary

Modifier and TypeField
private volatile LevelLightEngine
n
lightEngine
field_17105
lightingProvider
f_63151_
private volatile ChunkStatus
o
status
field_12918
status
f_63153_
private final List<CompoundTag>
p
entities
field_12929
entities
f_63157_
private final Map<GenerationStep$Carving, CarvingMask>
q
carvingMasks
field_12926
carvingMasks
f_63166_
private BelowZeroRetrogen
r
belowZeroRetrogen
field_35473
belowZeroRetrogen
f_188164_
private final ProtoChunkTicks<Block>
s
blockTicks
field_35474
blockTickScheduler
f_63163_
private final ProtoChunkTicks<Fluid>
t
fluidTicks
field_35475
fluidTickScheduler
f_188165_

Constructor summary

ModifierConstructor
public (ChunkPos pos, UpgradeData upgradeData, LevelHeightAccessor world, Registry<Biome> biomeRegistry, BlendingData blendingData)
public (ChunkPos pos, UpgradeData upgradeData, LevelChunkSection[] sections, ProtoChunkTicks<Block> blockTickScheduler, ProtoChunkTicks<Fluid> fluidTickScheduler, LevelHeightAccessor world, Registry<Biome> biomeRegistry, BlendingData blendingData)

Method summary

Modifier and TypeMethod
public TickContainerAccess<Block>
o()
getBlockTicks()
method_12013()
getBlockTickScheduler()
m_183531_()
public TickContainerAccess<Fluid>
p()
getFluidTicks()
method_12014()
getFluidTickScheduler()
m_183526_()
public ChunkAccess$TicksToSave
q()
getTicksForSerialization()
method_39296()
getTickSchedulers()
m_183568_()
public BlockState
a_(jd arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos arg0)
m_8055_(C_4675_ arg0)
public FluidState
b_(jd arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
getFluidState(BlockPos arg0)
m_6425_(C_4675_ arg0)
public BlockState
a(jd arg0, dtc 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)
m_6978_(C_4675_ p_63218_, C_2064_ p_63219_, boolean arg2)
public void
a(dqh arg0)
setBlockEntity(BlockEntity arg0)
method_12007(class_2586 arg0)
setBlockEntity(BlockEntity arg0)
m_142169_(C_1991_ arg0)
public BlockEntity
c_(jd arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos arg0)
m_7702_(C_4675_ arg0)
public Map<BlockPos, BlockEntity>
D()
getBlockEntities()
method_12309()
getBlockEntities()
m_63292_()
public void
b(ub arg0)
addEntity(CompoundTag arg0)
method_12302(class_2487 arg0)
addEntity(NbtCompound entityNbt)
m_63242_(C_4917_ arg0)
public void
a(bsr arg0)
addEntity(Entity arg0)
method_12002(class_1297 arg0)
addEntity(Entity arg0)
m_6286_(C_507_ arg0)
public void
a(ejr arg0, ejz arg1)
setStartForStructure(Structure arg0, StructureStart arg1)
method_12184(class_3195 arg0, class_3449 arg1)
setStructureStart(Structure arg0, StructureStart arg1)
m_213792_(C_213164_ p_223433_, C_2588_ arg1)
public List<CompoundTag>
E()
getEntities()
method_12295()
getEntities()
m_63293_()
public ChunkStatus
j()
getPersistedStatus()
method_12009()
getStatus()
m_6415_()
public void
a(dvz arg0)
setPersistedStatus(ChunkStatus arg0)
method_12308(class_2806 arg0)
setStatus(ChunkStatus status)
m_7150_(C_313554_ arg0)
public Holder<Biome>
getNoiseBiome(int arg0, int arg1, int arg2)
getNoiseBiome(int arg0, int arg1, int arg2)
method_16359(int arg0, int arg1, int arg2)
getBiomeForNoiseGen(int arg0, int arg1, int arg2)
m_203495_(int p_204451_, int p_204452_, int arg2)
public static short
g(jd arg0)
packOffsetCoordinates(BlockPos arg0)
method_12300(class_2338 arg0)
getPackedSectionRelative(BlockPos pos)
m_63280_(C_4675_ p_63281_)
public static BlockPos
a(short arg0, int arg1, dcd arg2)
unpackOffsetCoordinates(short arg0, int arg1, ChunkPos arg2)
method_12314(short arg0, int arg1, class_1923 arg2)
joinBlockPos(short sectionRel, int sectionY, ChunkPos chunkPos)
m_63227_(short p_63228_, int p_63229_, C_1560_ p_63230_)
public void
e(jd arg0)
markPosForPostprocessing(BlockPos arg0)
method_12039(class_2338 arg0)
markBlockForPostProcessing(BlockPos arg0)
m_8113_(C_4675_ arg0)
public void
a(short arg0, int arg1)
addPackedPostProcess(short arg0, int arg1)
method_12029(short arg0, int arg1)
markBlockForPostProcessing(short arg0, int arg1)
m_6561_(short p_63226_, int arg1)
public Map<BlockPos, CompoundTag>
F()
getBlockEntityNbts()
method_12316()
getBlockEntityNbts()
m_63294_()
public CompoundTag
a(jd arg0, jo$a arg1)
getBlockEntityNbtForSaving(BlockPos arg0, HolderLookup$Provider arg1)
method_20598(class_2338 arg0, class_7225$class_7874 arg1)
getPackedBlockEntityNbt(BlockPos arg0, RegistryWrapper$WrapperLookup arg1)
m_8051_(C_4675_ p_335105_, C_213466_$C_254607_ arg1)
public void
d(jd arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
removeBlockEntity(BlockPos arg0)
m_8114_(C_4675_ arg0)
public CarvingMask
a(dyu$a arg0)
getCarvingMask(GenerationStep$Carving arg0)
method_12025(class_2893$class_2894 arg0)
getCarvingMask(GenerationStep$Carver step)
m_183612_(C_2187_$C_2188_ arg0)
public CarvingMask
b(dyu$a arg0)
getOrCreateCarvingMask(GenerationStep$Carving arg0)
method_28510(class_2893$class_2894 arg0)
getOrCreateCarvingMask(GenerationStep$Carver step)
m_183613_(C_2187_$C_2188_ arg0)
public void
a(dyu$a arg0, dux arg1)
setCarvingMask(GenerationStep$Carving arg0, CarvingMask arg1)
method_12307(class_2893$class_2894 arg0, class_6643 arg1)
setCarvingMask(GenerationStep$Carver step, CarvingMask carvingMask)
m_188186_(C_2187_$C_2188_ p_188188_, C_182875_ arg1)
public void
a(eot arg0)
setLightEngine(LevelLightEngine arg0)
method_17032(class_3568 arg0)
setLightingProvider(LightingProvider lightingProvider)
m_63209_(C_2681_ arg0)
public void
a(dym arg0)
setBelowZeroRetrogen(BelowZeroRetrogen arg0)
method_39309(class_6746 arg0)
setBelowZeroRetrogen(BelowZeroRetrogen belowZeroRetrogen)
m_188183_(C_182888_ arg0)
public BelowZeroRetrogen
x()
getBelowZeroRetrogen()
method_39300()
getBelowZeroRetrogen()
m_183376_()
private static <T> LevelChunkTicks<T>
a(eyr<T> arg0)
unpackTicks(ProtoChunkTicks<T> arg0)
method_39310(class_4296<T> arg0)
createProtoTickScheduler(SimpleTickScheduler<T> tickScheduler)
m_188189_(C_183044_<T> p_188190_)
public LevelChunkTicks<Block>
G()
unpackBlockTicks()
method_39307()
getBlockProtoTickScheduler()
m_188181_()
public LevelChunkTicks<Fluid>
H()
unpackFluidTicks()
method_39308()
getFluidProtoTickScheduler()
m_188182_()
public LevelHeightAccessor
z()
getHeightAccessorForGeneration()
method_39460()
getHeightLimitView()
m_183618_()