net.minecraft.world.level.chunk

public class LevelChunk

extends ChunkAccess

All mapped superinterfaces:

BiomeManager$NoiseBiomeSource, LightChunk, BlockGetter, LevelHeightAccessor, StructureAccess

een
net.minecraft.world.level.chunk.LevelChunk
net.minecraft.class_2818

Field summary

Modifier and TypeField
static final org.slf4j.Logger
n
LOGGER
field_12839
private static final TickingBlockEntity
o
NULL_TICKER
field_27221
private final Map<BlockPos, LevelChunk$RebindableTickingBlockEntityWrapper>
p
tickersInLevel
field_27222
private boolean
q
loaded
field_12855
final Level
r
level
field_12858
private Supplier<FullChunkStatus>
s
fullStatus
field_12856
private LevelChunk$PostLoadProcessor
t
postLoad
field_12850
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<GameEventListenerRegistry>
u
gameEventListenerRegistrySections
field_28129
private final LevelChunkTicks<Block>
v
blockTicks
field_35471
private final LevelChunkTicks<Fluid>
w
fluidTicks
field_35472
private LevelChunk$UnsavedListener
x
unsavedListener
field_54971

Constructor summary

ModifierConstructor
public (Level arg0, ChunkPos arg1)
public (Level arg0, ChunkPos arg1, UpgradeData arg2, LevelChunkTicks<Block> arg3, LevelChunkTicks<Fluid> arg4, long arg5, LevelChunkSection[] arg6, LevelChunk$PostLoadProcessor arg7, BlendingData arg8)
public (ServerLevel arg0, ProtoChunk arg1, LevelChunk$PostLoadProcessor arg2)

Method summary

Modifier and TypeMethod
public void
a(een$e arg0)
setUnsavedListener(LevelChunk$UnsavedListener arg0)
method_65066(class_2818$class_10368 arg0)
public void
i()
markUnsaved()
method_65063()
public TickContainerAccess<Block>
q()
getBlockTicks()
method_12013()
public TickContainerAccess<Fluid>
r()
getFluidTicks()
method_12014()
public ChunkAccess$PackedTicks
a(long arg0)
getTicksForSerialization(long arg0)
method_39296(long arg0)
public GameEventListenerRegistry
a(int arg0)
getListenerRegistry(int arg0)
method_32914(int arg0)
public BlockState
a_(iy arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
public FluidState
b_(iy arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 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)
public BlockState
a(iy arg0, ecg arg1, int arg2)
setBlockState(BlockPos arg0, BlockState arg1, int arg2)
method_12010(class_2338 arg0, class_2680 arg1, int arg2)
public void
a(bxs arg0)
addEntity(Entity arg0)
method_12002(class_1297 arg0)
private BlockEntity
g(iy arg0)
createBlockEntity(BlockPos arg0)
method_12208(class_2338 arg0)
public BlockEntity
c_(iy arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
public BlockEntity
a(iy arg0, een$b arg1)
getBlockEntity(BlockPos arg0, LevelChunk$EntityCreationType arg1)
method_12201(class_2338 arg0, class_2818$class_2819 arg1)
public void
b(dze arg0)
addAndRegisterBlockEntity(BlockEntity arg0)
method_12216(class_2586 arg0)
private boolean
M()
isInLevel()
method_31715()
boolean
h(iy arg0)
isTicking(BlockPos arg0)
method_31724(class_2338 arg0)
public void
a(dze arg0)
setBlockEntity(BlockEntity arg0)
method_12007(class_2586 arg0)
public CompoundTag
a(iy arg0, jk$a arg1)
getBlockEntityNbtForSaving(BlockPos arg0, HolderLookup$Provider arg1)
method_20598(class_2338 arg0, class_7225$class_7874 arg1)
public void
d(iy arg0)
removeBlockEntity(BlockPos arg0)
method_12041(class_2338 arg0)
private <T extends BlockEntity> void
a(T arg0, asi arg1)
removeGameEventListener(T arg0, ServerLevel arg1)
method_32918(T arg0, class_3218 arg1)
private void
i(int arg0)
removeGameEventListenerRegistry(int arg0)
method_51382(int arg0)
private void
k(iy arg0)
removeBlockEntityTicker(BlockPos arg0)
method_31725(class_2338 arg0)
public void
H()
runPostLoad()
method_12206()
public boolean
F()
isEmpty()
method_12223()
public void
a(wc arg0, Map<eif$a, long[]> arg1, Consumer<adu$b> arg2)
replaceWithPacketData(FriendlyByteBuf arg0, Map<Heightmap$Types, long[]> arg1, Consumer<ClientboundLevelChunkPacketData$BlockEntityTagOutput> arg2)
method_12224(class_2540 arg0, Map<class_2902$class_2903, long[]> arg1, Consumer<class_6603$class_6605> arg2)
public void
a(wc arg0)
replaceBiomes(FriendlyByteBuf arg0)
method_49525(class_2540 arg0)
public void
b(boolean arg0)
setLoaded(boolean arg0)
method_12226(boolean arg0)
public Level
I()
getLevel()
method_12200()
public Map<BlockPos, BlockEntity>
J()
getBlockEntities()
method_12214()
public void
a(asi arg0)
postProcessGeneration(ServerLevel arg0)
method_12221(class_3218 arg0)
private BlockEntity
a(iy arg0, ue arg1)
promotePendingBlockEntity(BlockPos arg0, CompoundTag arg1)
method_12204(class_2338 arg0, class_2487 arg1)
public void
d(long arg0)
unpackTicks(long arg0)
method_20530(long arg0)
public void
b(asi arg0)
registerTickContainerInLevel(ServerLevel arg0)
method_39305(class_3218 arg0)
public void
c(asi arg0)
unregisterTickContainerFromLevel(ServerLevel arg0)
method_39306(class_3218 arg0)
public ChunkStatus
n()
getPersistedStatus()
method_12009()
public FullChunkStatus
G()
getFullStatus()
method_12225()
public void
b(Supplier<arw> arg0)
setFullStatus(Supplier<FullChunkStatus> arg0)
method_12207(Supplier<class_3194> arg0)
public void
K()
clearAllBlockEntities()
method_38289()
public void
L()
registerAllBlockEntitiesAfterLevelLoad()
method_31713()
private <T extends BlockEntity> void
b(T arg0, asi arg1)
addGameEventListener(T arg0, ServerLevel arg1)
method_32919(T arg0, class_3218 arg1)
private <T extends BlockEntity> void
c(T arg0)
updateBlockEntityTicker(T arg0)
method_31723(T arg0)
private <T extends BlockEntity> TickingBlockEntity
a(T arg0, dzf<T> arg1)
createTicker(T arg0, BlockEntityTicker<T> arg1)
method_31718(T arg0, class_5558<T> arg1)