net.minecraft.world.level.chunk

public class LevelChunk

extends ChunkAccess

All mapped superinterfaces:

BlockGetter, LevelHeightAccessor, BiomeManager$NoiseBiomeSource, LightChunk, StructureAccess

dvi
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
n
LOGGER
field_12839
f_hqpxrtdf
LOGGER
LOGGER
f_62771_
private static final TickingBlockEntity
o
NULL_TICKER
field_27221
f_umapfjvi
EMPTY_BLOCK_ENTITY_TICKER
EMPTY_BLOCK_ENTITY_TICKER
f_156361_
private final Map<BlockPos, LevelChunk$RebindableTickingBlockEntityWrapper>
p
tickersInLevel
field_27222
f_yihjgsqs
blockEntityTickers
blockEntityTickers
f_156362_
private boolean
q
loaded
field_12855
f_rdafyequ
loadedToWorld
loadedToWorld
f_62775_
final Level
r
level
field_12858
f_qhshpxlr
world
world
f_62776_
private Supplier<FullChunkStatus>
s
fullStatus
field_12856
f_inkzvkbq
levelTypeProvider
levelTypeProvider
f_62790_
private LevelChunk$PostLoadProcessor
t
postLoad
field_12850
f_ufsiahiv
entityLoader
loadToWorldConsumer
f_62791_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<GameEventListenerRegistry>
u
gameEventListenerRegistrySections
field_28129
f_yphcwwhv
gameEventDispatchers
gameEventListenerRegistries
f_244451_
private final LevelChunkTicks<Block>
v
blockTicks
field_35471
f_dyxtvrkw
blockTickScheduler
blockTickScheduler
f_62784_
private final LevelChunkTicks<Fluid>
w
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 GameEventListenerRegistry
a(int arg0)
getListenerRegistry(int arg0)
method_32914(int arg0)
m_fbrqbtve(int arg0)
getGameEventDispatcher(int arg0)
getListenerRegistry(int arg0)
m_246686_(int arg0)
public BlockState
a_(jd 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_(jd 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(jd arg0, dtc 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(bsr 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
g(jd 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_(jd 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(jd arg0, dvi$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(dqh 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
K()
isInLevel()
method_31715()
m_lirflyha()
canTickBlockEntities()
canTickBlockEntities()
m_156370_()
boolean
h(jd 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(dqh 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
a(jd arg0, jo$a arg1)
getBlockEntityNbtForSaving(BlockPos arg0, HolderLookup$Provider arg1)
method_20598(class_2338 arg0, class_7225$class_7874 arg1)
m_smvmtzoy(C_hynzadkk arg0, C_vtbxyypo$C_etmlgbig arg1)
getPackedBlockEntityNbt(BlockPos arg0, RegistryWrapper$WrapperLookup arg1)
getPackedBlockEntityNbt(BlockPos arg0, HolderLookup$Provider arg1)
m_8051_(C_4675_ p_329605_, C_213466_$C_254607_ arg1)
public void
d(jd 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
a(T arg0, aqu arg1)
removeGameEventListener(T arg0, ServerLevel arg1)
method_32918(T arg0, class_3218 arg1)
m_xorbnzue(T arg0, C_bdwnwhiu arg1)
removeGameEventListener(T blockEntity, ServerWorld world)
removeGameEventListener(T blockEntity, ServerWorld world)
m_223412_(T p_223414_, C_12_ arg1)
private void
h(int arg0)
removeGameEventListenerRegistry(int arg0)
method_51382(int arg0)
m_uzpphvzl(int arg0)
removeGameEventDispatcher(int ySectionCoord)
m_280642_(int arg0)
private void
k(jd 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
E()
runPostLoad()
method_12206()
m_dlmhpxiw()
loadEntities()
loadToWorld()
m_62952_()
public boolean
C()
isEmpty()
method_12223()
m_coxrfges()
isEmpty()
isEmpty()
m_6430_()
public void
a(vw arg0, ub arg1, Consumer<adf$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> consumer)
m_187971_(C_4983_ p_187973_, C_4917_ p_187974_, Consumer<C_183117_$C_183119_> arg2)
public void
a(vw arg0)
replaceBiomes(FriendlyByteBuf arg0)
method_49525(class_2540 arg0)
m_cfbqiyvi(C_idfydwco arg0)
loadBiomeFromPacket(PacketByteBuf buf)
readBiomePacket(PacketByteBuf buf)
m_274381_(C_4983_ arg0)
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
F()
getLevel()
method_12200()
m_gezsisut()
getWorld()
getWorld()
m_62953_()
public Map<BlockPos, BlockEntity>
G()
getBlockEntities()
method_12214()
m_bwzlcsiw()
getBlockEntities()
getBlockEntities()
m_62954_()
public void
H()
postProcessGeneration()
method_12221()
m_hltgjisj()
runPostProcessing()
runPostProcessing()
m_62812_()
private BlockEntity
a(jd arg0, ub 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 time)
m_187985_(long arg0)
public void
a(aqu 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(aqu 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()
getPersistedStatus()
method_12009()
m_rbxakgwa()
getStatus()
m_6415_()
public FullChunkStatus
D()
getFullStatus()
method_12225()
m_yvcrzojm()
getLevelType()
getLevelType()
m_287138_()
public void
b(Supplier<aql> arg0)
setFullStatus(Supplier<FullChunkStatus> arg0)
method_12207(Supplier<class_3194> arg0)
m_axphhprv(Supplier<C_whqcauvq> arg0)
setLevelTypeProvider(Supplier<ChunkLevelType> levelTypeProvider)
setLevelTypeProvider(Supplier<ChunkLoadStatus> levelTypeProvider)
m_62879_(Supplier<C_286921_> arg0)
public void
I()
clearAllBlockEntities()
method_38289()
m_eryswmdu()
clear()
clearBlockEntities()
m_187957_()
public void
J()
registerAllBlockEntitiesAfterLevelLoad()
method_31713()
m_dgieyuve()
updateAllBlockEntities()
updateAllBlockEntities()
m_156369_()
private <T extends BlockEntity> void
b(T arg0, aqu arg1)
addGameEventListener(T arg0, ServerLevel arg1)
method_32919(T arg0, class_3218 arg1)
m_hfoibruc(T arg0, C_bdwnwhiu arg1)
updateGameEventListener(T blockEntity, ServerWorld world)
updateGameEventListener(T blockEntity, ServerWorld world)
m_223415_(T p_223417_, C_12_ arg1)
private <T extends BlockEntity> void
c(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, dqi<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)