net.minecraft.world.level.chunk

public class LevelChunk

extends ChunkAccess

All mapped superinterfaces:

BlockGetter, LevelHeightAccessor, BiomeManager$NoiseBiomeSource, FeatureAccess

cra
net.minecraft.world.level.chunk.LevelChunk
net.minecraft.class_2818
net.minecraft.unmapped.C_hrdsvlkq
net.minecraft.world.chunk.WorldChunk
net.minecraft.world.chunk.WorldChunk
net.minecraft.src.C_2137_
net.minecraft.world.level.chunk.Chunk

Field summary

Modifier and TypeField
static final org.slf4j.Logger
l
LOGGER
field_12839
f_hqpxrtdf
LOGGER
LOGGER
f_62771_
private static final TickingBlockEntity
m
NULL_TICKER
field_27221
f_umapfjvi
EMPTY_BLOCK_ENTITY_TICKER
EMPTY_BLOCK_ENTITY_TICKER
f_156361_
private final Map<BlockPos, LevelChunk$RebindableTickingBlockEntityWrapper>
n
tickersInLevel
field_27222
f_yihjgsqs
blockEntityTickers
blockEntityTickers
f_156362_
private boolean
o
loaded
field_12855
f_rdafyequ
loadedToWorld
loadedToWorld
f_62775_
private boolean
p
clientLightReady
field_36218
f_cuknwkaj
shouldRenderOnUpdate
clientLightReady
f_196848_
final Level
q
level
field_12858
f_qhshpxlr
world
world
f_62776_
private Supplier<ChunkHolder$FullChunkStatus>
r
fullStatus
field_12856
f_inkzvkbq
levelTypeProvider
levelTypeProvider
f_62790_
private LevelChunk$PostLoadProcessor
s
postLoad
field_12850
f_ufsiahiv
entityLoader
loadToWorldConsumer
f_62791_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<GameEventDispatcher>
t
gameEventDispatcherSections
field_28129
f_lrjzwxeo
gameEventDispatchers
gameEventDispatchers
f_156363_
private final LevelChunkTicks<Block>
u
blockTicks
field_35471
f_dyxtvrkw
blockTickScheduler
blockTickScheduler
f_62784_
private final LevelChunkTicks<Fluid>
v
fluidTicks
field_35472
f_kmrqdxsk
fluidTickScheduler
fluidTickScheduler
f_187943_

Constructor summary

ModifierConstructor
public (Level world, ChunkPos pos)
public (Level world, ChunkPos pos, UpgradeData upgradeData, LevelChunkTicks<Block> blockTickScheduler, LevelChunkTicks<Fluid> fluidTickScheduler, long inhabitedTime, LevelChunkSection[] sectionArrayInitializer, LevelChunk$PostLoadProcessor entityLoader, BlendingData blendingData)
public (ServerLevel world, ProtoChunk protoChunk, LevelChunk$PostLoadProcessor entityLoader)

Method summary

Modifier and TypeMethod
public TickContainerAccess<Block>
o()
getBlockTicks()
method_12013()
m_fmezrwqz()
getBlockTickScheduler()
getBlockTickScheduler()
m_183531_()
public TickContainerAccess<Fluid>
p()
getFluidTicks()
method_12014()
m_xwsabvci()
getFluidTickScheduler()
getFluidTickScheduler()
m_183526_()
public ChunkAccess$TicksToSave
q()
getTicksForSerialization()
method_39296()
m_wljtnein()
getTickSchedulers()
getTicksForSerialization()
m_183568_()
public GameEventDispatcher
a(int arg0)
getEventDispatcher(int arg0)
method_32914(int arg0)
m_comrxvzs(int arg0)
getGameEventDispatcher(int arg0)
getGameEventDispatcher(int arg0)
m_142336_(int arg0)
public BlockState
a_(gj arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
m_cwgupilf(C_hynzadkk arg0)
getBlockState(BlockPos arg0)
getBlockState(BlockPos arg0)
m_8055_(C_4675_ arg0)
public FluidState
b_(gj arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
m_ldbsxred(C_hynzadkk arg0)
getFluidState(BlockPos arg0)
getFluidState(BlockPos arg0)
m_6425_(C_4675_ 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)
getFluidState(int x, int y, int z)
m_62814_(int p_62816_, int p_62817_, int arg2)
public BlockState
a(gj arg0, cov 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)
setBlockState(BlockPos arg0, BlockState arg1, boolean arg2)
m_6978_(C_4675_ p_62866_, C_2064_ p_62867_, boolean arg2)
public void
a(axk arg0)
addEntity(Entity arg0)
method_12002(class_1297 arg0)
m_blkwaqtb(C_astfners arg0)
addEntity(Entity arg0)
addEntity(Entity arg0)
m_6286_(C_507_ arg0)
private BlockEntity
j(gj arg0)
createBlockEntity(BlockPos arg0)
method_12208(class_2338 arg0)
m_vrgotbps(C_hynzadkk arg0)
createBlockEntity(BlockPos pos)
createBlockEntity(BlockPos pos)
m_62934_(C_4675_ arg0)
public BlockEntity
c_(gj arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
m_jakjlsko(C_hynzadkk arg0)
getBlockEntity(BlockPos arg0)
getBlockEntity(BlockPos arg0)
m_7702_(C_4675_ arg0)
public BlockEntity
a(gj arg0, cra$b 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)
getBlockEntity(BlockPos pos, WorldChunk$CreationType creationType)
m_5685_(C_4675_ p_62869_, C_2137_$C_2138_ arg1)
public void
b(cmr arg0)
addAndRegisterBlockEntity(BlockEntity arg0)
method_12216(class_2586 arg0)
m_wpucjawb(C_kvegafmh arg0)
addBlockEntity(BlockEntity blockEntity)
addBlockEntity(BlockEntity blockEntity)
m_142170_(C_1991_ arg0)
private boolean
J()
isInLevel()
method_31715()
m_lirflyha()
canTickBlockEntities()
canTickBlockEntities()
m_156370_()
boolean
k(gj arg0)
isTicking(BlockPos arg0)
method_31724(class_2338 arg0)
m_fwegiavd(C_hynzadkk arg0)
canTickBlockEntity(BlockPos pos)
canTickBlockEntity(BlockPos pos)
m_156410_(C_4675_ arg0)
public void
a(cmr arg0)
setBlockEntity(BlockEntity arg0)
method_12007(class_2586 arg0)
m_hguftcvs(C_kvegafmh arg0)
setBlockEntity(BlockEntity arg0)
setBlockEntity(BlockEntity arg0)
m_142169_(C_1991_ arg0)
public CompoundTag
g(gj arg0)
getBlockEntityNbtForSaving(BlockPos arg0)
method_20598(class_2338 arg0)
m_smvmtzoy(C_hynzadkk arg0)
getPackedBlockEntityNbt(BlockPos arg0)
getPackedBlockEntityNbt(BlockPos arg0)
m_8051_(C_4675_ arg0)
public void
d(gj arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
m_uwgruiru(C_hynzadkk arg0)
removeBlockEntity(BlockPos arg0)
removeBlockEntity(BlockPos arg0)
m_8114_(C_4675_ arg0)
private <T extends BlockEntity> void
c(T arg0)
removeGameEventListener(T arg0)
method_32918(T arg0)
m_xorbnzue(T arg0)
removeGameEventListener(T blockEntity)
removeGameEventListener(T blockEntity)
m_156396_(T arg0)
private void
l(gj arg0)
removeBlockEntityTicker(BlockPos arg0)
method_31725(class_2338 arg0)
m_awvidpnl(C_hynzadkk arg0)
removeBlockEntityTicker(BlockPos pos)
removeBlockEntityTicker(BlockPos pos)
m_156412_(C_4675_ arg0)
public void
C()
runPostLoad()
method_12206()
m_dlmhpxiw()
loadEntities()
loadToWorld()
m_62952_()
public boolean
A()
isEmpty()
method_12223()
m_coxrfges()
isEmpty()
isEmpty()
m_6430_()
public void
a(py arg0, ok arg1, Consumer<so$b> arg2)
replaceWithPacketData(FriendlyByteBuf arg0, CompoundTag arg1, Consumer<ClientboundLevelChunkPacketData$BlockEntityTagOutput> arg2)
method_12224(class_2540 arg0, class_2487 arg1, Consumer<class_6603$class_6605> arg2)
m_xrygtomw(C_idfydwco arg0, C_hhlwcnih arg1, Consumer<C_tilplatb$C_arplkwav> arg2)
loadFromPacket(PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData$BlockEntityVisitor> arg2)
loadFromPacket(PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData$BlockEntityVisitor> arg2)
m_187971_(C_4983_ p_187973_, C_4917_ p_187974_, Consumer<C_183117_$C_183119_> arg2)
public void
c(boolean arg0)
setLoaded(boolean arg0)
method_12226(boolean arg0)
m_okywrsjj(boolean arg0)
setLoadedToWorld(boolean loadedToWorld)
setLoadedToWorld(boolean loaded)
m_62913_(boolean arg0)
public Level
D()
getLevel()
method_12200()
m_gezsisut()
getWorld()
getWorld()
m_62953_()
public Map<BlockPos, BlockEntity>
E()
getBlockEntities()
method_12214()
m_bwzlcsiw()
getBlockEntities()
getBlockEntities()
m_62954_()
public Stream<BlockPos>
n()
getLights()
method_12018()
m_hehmhcmj()
getLightSourcesStream()
getLightSourcesStream()
m_6267_()
public void
F()
postProcessGeneration()
method_12221()
m_hltgjisj()
runPostProcessing()
runPostProcessing()
m_62812_()
private BlockEntity
a(gj arg0, ok 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, NbtCompound nbt)
loadBlockEntity(BlockPos pos, NbtCompound nbt)
m_62870_(C_4675_ p_62872_, C_4917_ arg1)
public void
c(long arg0)
unpackTicks(long arg0)
method_20530(long arg0)
m_txdtyywn(long arg0)
disableTickSchedulers(long time)
disableTickSchedulers(long arg0)
m_187985_(long arg0)
public void
a(adw arg0)
registerTickContainerInLevel(ServerLevel arg0)
method_39305(class_3218 arg0)
m_txllhxeh(C_bdwnwhiu arg0)
addChunkTickSchedulers(ServerWorld world)
addChunkTickSchedulers(ServerWorld world)
m_187958_(C_12_ arg0)
public void
b(adw arg0)
unregisterTickContainerFromLevel(ServerLevel arg0)
method_39306(class_3218 arg0)
m_hidufxvb(C_bdwnwhiu arg0)
removeChunkTickSchedulers(ServerWorld world)
removeChunkTickSchedulers(ServerWorld world)
m_187979_(C_12_ arg0)
public ChunkStatus
j()
getStatus()
method_12009()
m_qkpdcbbf()
getStatus()
getStatus()
m_6415_()
public ChunkHolder$FullChunkStatus
B()
getFullStatus()
method_12225()
m_yvcrzojm()
getLevelType()
getLevelType()
m_6708_()
public void
b(Supplier<adi$c> 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)
setLevelTypeProvider(Supplier<ChunkHolder$LevelType> levelTypeProvider)
m_62879_(Supplier<C_5422_$C_5426_> arg0)
public void
G()
clearAllBlockEntities()
method_38289()
m_eryswmdu()
clear()
clearBlockEntities()
m_187957_()
public void
H()
registerAllBlockEntitiesAfterLevelLoad()
method_31713()
m_dgieyuve()
updateAllBlockEntities()
updateAllBlockEntities()
m_156369_()
private <T extends BlockEntity> void
d(T arg0)
addGameEventListener(T arg0)
method_32919(T arg0)
m_hfoibruc(T arg0)
updateGameEventListener(T blockEntity)
updateGameEventListener(T blockEntity)
m_156404_(T arg0)
private <T extends BlockEntity> void
e(T arg0)
updateBlockEntityTicker(T arg0)
method_31723(T arg0)
m_ygxlduhs(T arg0)
updateTicker(T blockEntity)
updateTicker(T blockEntity)
m_156406_(T arg0)
private <T extends BlockEntity> TickingBlockEntity
a(T arg0, cms<T> arg1)
createTicker(T arg0, BlockEntityTicker<T> arg1)
method_31718(T arg0, class_5558<T> arg1)
m_hxgumoxh(T arg0, C_hedzytvj<T> arg1)
wrapTicker(T blockEntity, BlockEntityTicker<T> blockEntityTicker)
wrapTicker(T blockEntity, BlockEntityTicker<T> blockEntityTicker)
m_156375_(T p_156377_, C_141244_<T> arg1)
public boolean
I()
isClientLightReady()
method_39791()
m_jnpvfusq()
shouldRenderOnUpdate()
isClientLightReady()
m_196863_()
public void
d(boolean arg0)
setClientLightReady(boolean arg0)
method_39792(boolean arg0)
m_ylwlgerm(boolean arg0)
setShouldRenderOnUpdate(boolean shouldRenderOnUpdate)
setClientLightReady(boolean clientLightReady)
m_196864_(boolean arg0)