Package net.minecraft.world.chunk
Class Chunk
java.lang.Object
net.minecraft.world.chunk.Chunk
- All Implemented Interfaces:
BiomeAccess.Storage
,BlockView
,LightSourceView
,HeightLimitView
,StructureHolder
- Direct Known Subclasses:
ProtoChunk
,WorldChunk
public abstract class Chunk
extends Object
implements BiomeAccess.Storage, LightSourceView, StructureHolder
Represents a scoped, modifiable view of biomes, block states, fluid states and block entities.
- Mappings:
Namespace Name named net/minecraft/world/chunk/Chunk
intermediary net/minecraft/class_2791
official dzp
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected @Nullable BlendingData
protected final Map
<BlockPos, BlockEntity> protected final Map
<BlockPos, NbtCompound> protected @Nullable ChunkNoiseSampler
protected ChunkSkyLight
private static final LongSet
private @Nullable GenerationSettings
Deprecated.protected final HeightLimitView
protected final Map
<Heightmap.Type, Heightmap> private long
private boolean
private static final Logger
static final int
private boolean
protected final ChunkPos
protected final ShortList[]
protected final ChunkSection[]
private final Map
<Structure, StructureStart> protected final UpgradeData
Fields inherited from interface net.minecraft.world.BlockView
field_54147
-
Constructor Summary
ConstructorDescriptionChunk
(ChunkPos pos, UpgradeData upgradeData, HeightLimitView heightLimitView, Registry<Biome> biomeRegistry, long inhabitedTime, @Nullable ChunkSection[] sectionArray, @Nullable BlendingData blendingData) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
void
void
addStructureReference
(Structure structure, long reference) boolean
areSectionsEmptyBetween
(int lowerHeight, int upperHeight) private static void
fillSectionArray
(Registry<Biome> biomeRegistry, ChunkSection[] sectionArray) void
forEachBlockMatchingPredicate
(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) final void
forEachLightSource
(BiConsumer<BlockPos, BlockState> callback) getBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) abstract BasicTickScheduler
<Block> int
Returns the bottom Y level, or height, inclusive, of this view.abstract BasicTickScheduler
<Fluid> getGameEventDispatcher
(int ySectionCoord) int
getHeightmap
(Heightmap.Type type) int
int
Deprecated, for removal: This API element is subject to removal in a future version.long
static ShortList
Returns the chunk status or the target status for the retrogen, whichever is later.getOrCreateChunkNoiseSampler
(Function<Chunk, ChunkNoiseSampler> chunkNoiseSamplerCreator) getOrCreateGenerationSettings
(Supplier<GenerationSettings> generationSettingsCreator) Deprecated.abstract @Nullable NbtCompound
getPackedBlockEntityNbt
(BlockPos pos, RegistryWrapper.WrapperLookup registries) getPos()
getSection
(int yIndex) abstract ChunkStatus
getStructureReferences
(Structure structure) getStructureStart
(Structure structure) abstract Chunk.TickSchedulers
getTickSchedulers
(long time) boolean
boolean
hasHeightmap
(Heightmap.Type type) boolean
void
increaseInhabitedTime
(long delta) boolean
boolean
isSectionEmpty
(int sectionCoord) boolean
void
void
markBlocksForPostProcessing
(ShortList packedPositions, int index) void
boolean
void
populateBiomes
(BiomeSupplier biomeSupplier, MultiNoiseUtil.MultiNoiseSampler sampler) void
abstract void
int
sampleHeightmap
(Heightmap.Type type, int x, int z) abstract void
setBlockEntity
(BlockEntity blockEntity) abstract @Nullable BlockState
setBlockState
(BlockPos pos, BlockState state, boolean moved) void
setHeightmap
(Heightmap.Type type, long[] heightmap) void
setInhabitedTime
(long inhabitedTime) void
setLightOn
(boolean lightOn) void
setStructureReferences
(Map<Structure, LongSet> structureReferences) void
setStructureStart
(Structure structure, StructureStart start) void
setStructureStarts
(Map<Structure, StructureStart> structureStarts) boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopYInclusive, isInHeightLimit, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Field Details
-
MISSING_SECTION
public static final int MISSING_SECTION- See Also:
- Mappings:
Namespace Name Mixin selector named MISSING_SECTION
Lnet/minecraft/world/chunk/Chunk;MISSING_SECTION:I
intermediary field_44632
Lnet/minecraft/class_2791;field_44632:I
official a
Ldzp;a:I
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/world/chunk/Chunk;LOGGER:Lorg/slf4j/Logger;
intermediary field_34548
Lnet/minecraft/class_2791;field_34548:Lorg/slf4j/Logger;
official n
Ldzp;n:Lorg/slf4j/Logger;
-
EMPTY_STRUCTURE_REFERENCES
- Mappings:
Namespace Name Mixin selector named EMPTY_STRUCTURE_REFERENCES
Lnet/minecraft/world/chunk/Chunk;EMPTY_STRUCTURE_REFERENCES:Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary field_37052
Lnet/minecraft/class_2791;field_37052:Lit/unimi/dsi/fastutil/longs/LongSet;
official o
Ldzp;o:Lit/unimi/dsi/fastutil/longs/LongSet;
-
postProcessingLists
- Mappings:
Namespace Name Mixin selector named postProcessingLists
Lnet/minecraft/world/chunk/Chunk;postProcessingLists:[Lit/unimi/dsi/fastutil/shorts/ShortList;
intermediary field_34536
Lnet/minecraft/class_2791;field_34536:[Lit/unimi/dsi/fastutil/shorts/ShortList;
official b
Ldzp;b:[Lit/unimi/dsi/fastutil/shorts/ShortList;
-
needsSaving
private volatile boolean needsSaving- Mappings:
Namespace Name Mixin selector named needsSaving
Lnet/minecraft/world/chunk/Chunk;needsSaving:Z
intermediary field_34537
Lnet/minecraft/class_2791;field_34537:Z
official p
Ldzp;p:Z
-
lightOn
private volatile boolean lightOn- Mappings:
Namespace Name Mixin selector named lightOn
Lnet/minecraft/world/chunk/Chunk;lightOn:Z
intermediary field_34549
Lnet/minecraft/class_2791;field_34549:Z
official q
Ldzp;q:Z
-
pos
- Mappings:
Namespace Name Mixin selector named pos
Lnet/minecraft/world/chunk/Chunk;pos:Lnet/minecraft/util/math/ChunkPos;
intermediary field_34538
Lnet/minecraft/class_2791;field_34538:Lnet/minecraft/class_1923;
official c
Ldzp;c:Ldgn;
-
inhabitedTime
private long inhabitedTime- Mappings:
Namespace Name Mixin selector named inhabitedTime
Lnet/minecraft/world/chunk/Chunk;inhabitedTime:J
intermediary field_34550
Lnet/minecraft/class_2791;field_34550:J
official r
Ldzp;r:J
-
generationSettings
Deprecated.- Mappings:
Namespace Name Mixin selector named generationSettings
Lnet/minecraft/world/chunk/Chunk;generationSettings:Lnet/minecraft/world/biome/GenerationSettings;
intermediary field_39411
Lnet/minecraft/class_2791;field_39411:Lnet/minecraft/class_5485;
official s
Ldzp;s:Ldik;
-
chunkNoiseSampler
- Mappings:
Namespace Name Mixin selector named chunkNoiseSampler
Lnet/minecraft/world/chunk/Chunk;chunkNoiseSampler:Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
intermediary field_34539
Lnet/minecraft/class_2791;field_34539:Lnet/minecraft/class_6568;
official d
Ldzp;d:Ledt;
-
upgradeData
- Mappings:
Namespace Name Mixin selector named upgradeData
Lnet/minecraft/world/chunk/Chunk;upgradeData:Lnet/minecraft/world/chunk/UpgradeData;
intermediary field_34540
Lnet/minecraft/class_2791;field_34540:Lnet/minecraft/class_2843;
official e
Ldzp;e:Leam;
-
blendingData
- Mappings:
Namespace Name Mixin selector named blendingData
Lnet/minecraft/world/chunk/Chunk;blendingData:Lnet/minecraft/world/gen/chunk/BlendingData;
intermediary field_35468
Lnet/minecraft/class_2791;field_35468:Lnet/minecraft/class_6749;
official f
Ldzp;f:Lees;
-
heightmaps
- Mappings:
Namespace Name Mixin selector named heightmaps
Lnet/minecraft/world/chunk/Chunk;heightmaps:Ljava/util/Map;
intermediary field_34541
Lnet/minecraft/class_2791;field_34541:Ljava/util/Map;
official h
Ldzp;h:Ljava/util/Map;
-
chunkSkyLight
- Mappings:
Namespace Name Mixin selector named chunkSkyLight
Lnet/minecraft/world/chunk/Chunk;chunkSkyLight:Lnet/minecraft/world/chunk/light/ChunkSkyLight;
intermediary field_44708
Lnet/minecraft/class_2791;field_44708:Lnet/minecraft/class_8528;
official i
Ldzp;i:Letg;
-
structureStarts
- Mappings:
Namespace Name Mixin selector named structureStarts
Lnet/minecraft/world/chunk/Chunk;structureStarts:Ljava/util/Map;
intermediary field_34552
Lnet/minecraft/class_2791;field_34552:Ljava/util/Map;
official t
Ldzp;t:Ljava/util/Map;
-
structureReferences
- Mappings:
Namespace Name Mixin selector named structureReferences
Lnet/minecraft/world/chunk/Chunk;structureReferences:Ljava/util/Map;
intermediary field_34553
Lnet/minecraft/class_2791;field_34553:Ljava/util/Map;
official u
Ldzp;u:Ljava/util/Map;
-
blockEntityNbts
- Mappings:
Namespace Name Mixin selector named blockEntityNbts
Lnet/minecraft/world/chunk/Chunk;blockEntityNbts:Ljava/util/Map;
intermediary field_34542
Lnet/minecraft/class_2791;field_34542:Ljava/util/Map;
official j
Ldzp;j:Ljava/util/Map;
-
blockEntities
- Mappings:
Namespace Name Mixin selector named blockEntities
Lnet/minecraft/world/chunk/Chunk;blockEntities:Ljava/util/Map;
intermediary field_34543
Lnet/minecraft/class_2791;field_34543:Ljava/util/Map;
official k
Ldzp;k:Ljava/util/Map;
-
heightLimitView
- Mappings:
Namespace Name Mixin selector named heightLimitView
Lnet/minecraft/world/chunk/Chunk;heightLimitView:Lnet/minecraft/world/HeightLimitView;
intermediary field_34544
Lnet/minecraft/class_2791;field_34544:Lnet/minecraft/class_5539;
official l
Ldzp;l:Ldhj;
-
sectionArray
- Mappings:
Namespace Name Mixin selector named sectionArray
Lnet/minecraft/world/chunk/Chunk;sectionArray:[Lnet/minecraft/world/chunk/ChunkSection;
intermediary field_34545
Lnet/minecraft/class_2791;field_34545:[Lnet/minecraft/class_2826;
official m
Ldzp;m:[Leaa;
-
-
Constructor Details
-
Chunk
public Chunk(ChunkPos pos, UpgradeData upgradeData, HeightLimitView heightLimitView, Registry<Biome> biomeRegistry, long inhabitedTime, @Nullable @Nullable ChunkSection[] sectionArray, @Nullable @Nullable BlendingData blendingData) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/chunk/Chunk;<init>(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/chunk/UpgradeData;Lnet/minecraft/world/HeightLimitView;Lnet/minecraft/registry/Registry;J[Lnet/minecraft/world/chunk/ChunkSection;Lnet/minecraft/world/gen/chunk/BlendingData;)V
intermediary <init>
Lnet/minecraft/class_2791;<init>(Lnet/minecraft/class_1923;Lnet/minecraft/class_2843;Lnet/minecraft/class_5539;Lnet/minecraft/class_2378;J[Lnet/minecraft/class_2826;Lnet/minecraft/class_6749;)V
official <init>
Ldzp;<init>(Ldgn;Leam;Ldhj;Lkd;J[Leaa;Lees;)V
-
-
Method Details
-
fillSectionArray
- Mappings:
Namespace Name Mixin selector named fillSectionArray
Lnet/minecraft/world/chunk/Chunk;fillSectionArray(Lnet/minecraft/registry/Registry;[Lnet/minecraft/world/chunk/ChunkSection;)V
intermediary method_38256
Lnet/minecraft/class_2791;method_38256(Lnet/minecraft/class_2378;[Lnet/minecraft/class_2826;)V
official a
Ldzp;a(Lkd;[Leaa;)V
-
getGameEventDispatcher
- Mappings:
Namespace Name Mixin selector named getGameEventDispatcher
Lnet/minecraft/world/chunk/Chunk;getGameEventDispatcher(I)Lnet/minecraft/world/event/listener/GameEventDispatcher;
intermediary method_32914
Lnet/minecraft/class_2791;method_32914(I)Lnet/minecraft/class_5713;
official a
Ldzp;a(I)Lect;
-
setBlockState
@Nullable public abstract @Nullable BlockState setBlockState(BlockPos pos, BlockState state, boolean moved) - Mappings:
Namespace Name Mixin selector named setBlockState
Lnet/minecraft/world/chunk/Chunk;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;
intermediary method_12010
Lnet/minecraft/class_2791;method_12010(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680;
official a
Ldzp;a(Ljh;Ldxu;Z)Ldxu;
-
setBlockEntity
- Mappings:
Namespace Name Mixin selector named setBlockEntity
Lnet/minecraft/world/chunk/Chunk;setBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
intermediary method_12007
Lnet/minecraft/class_2791;method_12007(Lnet/minecraft/class_2586;)V
official a
Ldzp;a(Lduw;)V
-
addEntity
- Mappings:
Namespace Name Mixin selector named addEntity
Lnet/minecraft/world/chunk/Chunk;addEntity(Lnet/minecraft/entity/Entity;)V
intermediary method_12002
Lnet/minecraft/class_2791;method_12002(Lnet/minecraft/class_1297;)V
official a
Ldzp;a(Lbvj;)V
-
getHighestNonEmptySection
public int getHighestNonEmptySection()- Mappings:
Namespace Name Mixin selector named getHighestNonEmptySection
Lnet/minecraft/world/chunk/Chunk;getHighestNonEmptySection()I
intermediary method_12040
Lnet/minecraft/class_2791;method_12040()I
official a
Ldzp;a()I
-
getHighestNonEmptySectionYOffset
Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector named getHighestNonEmptySectionYOffset
Lnet/minecraft/world/chunk/Chunk;getHighestNonEmptySectionYOffset()I
intermediary method_12031
Lnet/minecraft/class_2791;method_12031()I
official b
Ldzp;b()I
-
getBlockEntityPositions
- Mappings:
Namespace Name Mixin selector named getBlockEntityPositions
Lnet/minecraft/world/chunk/Chunk;getBlockEntityPositions()Ljava/util/Set;
intermediary method_12021
Lnet/minecraft/class_2791;method_12021()Ljava/util/Set;
official c
Ldzp;c()Ljava/util/Set;
-
getSectionArray
- Mappings:
Namespace Name Mixin selector named getSectionArray
Lnet/minecraft/world/chunk/Chunk;getSectionArray()[Lnet/minecraft/world/chunk/ChunkSection;
intermediary method_12006
Lnet/minecraft/class_2791;method_12006()[Lnet/minecraft/class_2826;
official d
Ldzp;d()[Leaa;
-
getSection
- Mappings:
Namespace Name Mixin selector named getSection
Lnet/minecraft/world/chunk/Chunk;getSection(I)Lnet/minecraft/world/chunk/ChunkSection;
intermediary method_38259
Lnet/minecraft/class_2791;method_38259(I)Lnet/minecraft/class_2826;
official b
Ldzp;b(I)Leaa;
-
getHeightmaps
- Mappings:
Namespace Name Mixin selector named getHeightmaps
Lnet/minecraft/world/chunk/Chunk;getHeightmaps()Ljava/util/Collection;
intermediary method_12011
Lnet/minecraft/class_2791;method_12011()Ljava/util/Collection;
official e
Ldzp;e()Ljava/util/Collection;
-
setHeightmap
- Mappings:
Namespace Name Mixin selector named setHeightmap
Lnet/minecraft/world/chunk/Chunk;setHeightmap(Lnet/minecraft/world/Heightmap$Type;[J)V
intermediary method_12037
Lnet/minecraft/class_2791;method_12037(Lnet/minecraft/class_2902$class_2903;[J)V
official a
Ldzp;a(Ledp$a;[J)V
-
getHeightmap
- Mappings:
Namespace Name Mixin selector named getHeightmap
Lnet/minecraft/world/chunk/Chunk;getHeightmap(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/world/Heightmap;
intermediary method_12032
Lnet/minecraft/class_2791;method_12032(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_2902;
official a
Ldzp;a(Ledp$a;)Ledp;
-
hasHeightmap
- Mappings:
Namespace Name Mixin selector named hasHeightmap
Lnet/minecraft/world/chunk/Chunk;hasHeightmap(Lnet/minecraft/world/Heightmap$Type;)Z
intermediary method_39295
Lnet/minecraft/class_2791;method_39295(Lnet/minecraft/class_2902$class_2903;)Z
official b
Ldzp;b(Ledp$a;)Z
-
sampleHeightmap
- Mappings:
Namespace Name Mixin selector named sampleHeightmap
Lnet/minecraft/world/chunk/Chunk;sampleHeightmap(Lnet/minecraft/world/Heightmap$Type;II)I
intermediary method_12005
Lnet/minecraft/class_2791;method_12005(Lnet/minecraft/class_2902$class_2903;II)I
official a
Ldzp;a(Ledp$a;II)I
-
getPos
- Mappings:
Namespace Name Mixin selector named getPos
Lnet/minecraft/world/chunk/Chunk;getPos()Lnet/minecraft/util/math/ChunkPos;
intermediary method_12004
Lnet/minecraft/class_2791;method_12004()Lnet/minecraft/class_1923;
official f
Ldzp;f()Ldgn;
-
getStructureStart
- Specified by:
getStructureStart
in interfaceStructureHolder
- Mappings:
Namespace Name Mixin selector named getStructureStart
Lnet/minecraft/world/StructureHolder;getStructureStart(Lnet/minecraft/world/gen/structure/Structure;)Lnet/minecraft/structure/StructureStart;
intermediary method_12181
Lnet/minecraft/class_2810;method_12181(Lnet/minecraft/class_3195;)Lnet/minecraft/class_3449;
official a
Leal;a(Leoj;)Leor;
-
setStructureStart
- Specified by:
setStructureStart
in interfaceStructureHolder
- Mappings:
Namespace Name Mixin selector named setStructureStart
Lnet/minecraft/world/StructureHolder;setStructureStart(Lnet/minecraft/world/gen/structure/Structure;Lnet/minecraft/structure/StructureStart;)V
intermediary method_12184
Lnet/minecraft/class_2810;method_12184(Lnet/minecraft/class_3195;Lnet/minecraft/class_3449;)V
official a
Leal;a(Leoj;Leor;)V
-
getStructureStarts
- Mappings:
Namespace Name Mixin selector named getStructureStarts
Lnet/minecraft/world/chunk/Chunk;getStructureStarts()Ljava/util/Map;
intermediary method_12016
Lnet/minecraft/class_2791;method_12016()Ljava/util/Map;
official g
Ldzp;g()Ljava/util/Map;
-
setStructureStarts
- Mappings:
Namespace Name Mixin selector named setStructureStarts
Lnet/minecraft/world/chunk/Chunk;setStructureStarts(Ljava/util/Map;)V
intermediary method_12034
Lnet/minecraft/class_2791;method_12034(Ljava/util/Map;)V
official a
Ldzp;a(Ljava/util/Map;)V
-
getStructureReferences
- Specified by:
getStructureReferences
in interfaceStructureHolder
- Mappings:
Namespace Name Mixin selector named getStructureReferences
Lnet/minecraft/world/StructureHolder;getStructureReferences(Lnet/minecraft/world/gen/structure/Structure;)Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary method_12180
Lnet/minecraft/class_2810;method_12180(Lnet/minecraft/class_3195;)Lit/unimi/dsi/fastutil/longs/LongSet;
official b
Leal;b(Leoj;)Lit/unimi/dsi/fastutil/longs/LongSet;
-
addStructureReference
- Specified by:
addStructureReference
in interfaceStructureHolder
- Mappings:
Namespace Name Mixin selector named addStructureReference
Lnet/minecraft/world/StructureHolder;addStructureReference(Lnet/minecraft/world/gen/structure/Structure;J)V
intermediary method_12182
Lnet/minecraft/class_2810;method_12182(Lnet/minecraft/class_3195;J)V
official a
Leal;a(Leoj;J)V
-
getStructureReferences
- Specified by:
getStructureReferences
in interfaceStructureHolder
- Mappings:
Namespace Name Mixin selector named getStructureReferences
Lnet/minecraft/world/StructureHolder;getStructureReferences()Ljava/util/Map;
intermediary method_12179
Lnet/minecraft/class_2810;method_12179()Ljava/util/Map;
official h
Leal;h()Ljava/util/Map;
-
setStructureReferences
- Specified by:
setStructureReferences
in interfaceStructureHolder
- Mappings:
Namespace Name Mixin selector named setStructureReferences
Lnet/minecraft/world/StructureHolder;setStructureReferences(Ljava/util/Map;)V
intermediary method_12183
Lnet/minecraft/class_2810;method_12183(Ljava/util/Map;)V
official b
Leal;b(Ljava/util/Map;)V
-
areSectionsEmptyBetween
public boolean areSectionsEmptyBetween(int lowerHeight, int upperHeight) - Mappings:
Namespace Name Mixin selector named areSectionsEmptyBetween
Lnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z
intermediary method_12228
Lnet/minecraft/class_2791;method_12228(II)Z
official a
Ldzp;a(II)Z
-
isSectionEmpty
public boolean isSectionEmpty(int sectionCoord) - Mappings:
Namespace Name Mixin selector named isSectionEmpty
Lnet/minecraft/world/chunk/Chunk;isSectionEmpty(I)Z
intermediary method_60791
Lnet/minecraft/class_2791;method_60791(I)Z
official c
Ldzp;c(I)Z
-
markNeedsSaving
public void markNeedsSaving()- Mappings:
Namespace Name Mixin selector named markNeedsSaving
Lnet/minecraft/world/chunk/Chunk;markNeedsSaving()V
intermediary method_65063
Lnet/minecraft/class_2791;method_65063()V
official i
Ldzp;i()V
-
tryMarkSaved
public boolean tryMarkSaved()- Mappings:
Namespace Name Mixin selector named tryMarkSaved
Lnet/minecraft/world/chunk/Chunk;tryMarkSaved()Z
intermediary method_65064
Lnet/minecraft/class_2791;method_65064()Z
official j
Ldzp;j()Z
-
needsSaving
public boolean needsSaving()- Mappings:
Namespace Name Mixin selector named needsSaving
Lnet/minecraft/world/chunk/Chunk;needsSaving()Z
intermediary method_12044
Lnet/minecraft/class_2791;method_12044()Z
official k
Ldzp;k()Z
-
getStatus
- Mappings:
Namespace Name Mixin selector named getStatus
Lnet/minecraft/world/chunk/Chunk;getStatus()Lnet/minecraft/world/chunk/ChunkStatus;
intermediary method_12009
Lnet/minecraft/class_2791;method_12009()Lnet/minecraft/class_2806;
official n
Ldzp;n()Leaq;
-
getMaxStatus
Returns the chunk status or the target status for the retrogen, whichever is later.- Returns:
- the chunk status or the target status for the retrogen, whichever is later
- Mappings:
Namespace Name Mixin selector named getMaxStatus
Lnet/minecraft/world/chunk/Chunk;getMaxStatus()Lnet/minecraft/world/chunk/ChunkStatus;
intermediary method_51526
Lnet/minecraft/class_2791;method_51526()Lnet/minecraft/class_2806;
official o
Ldzp;o()Leaq;
-
removeBlockEntity
- Mappings:
Namespace Name Mixin selector named removeBlockEntity
Lnet/minecraft/world/chunk/Chunk;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_12041
Lnet/minecraft/class_2791;method_12041(Lnet/minecraft/class_2338;)V
official d
Ldzp;d(Ljh;)V
-
markBlockForPostProcessing
- Mappings:
Namespace Name Mixin selector named markBlockForPostProcessing
Lnet/minecraft/world/chunk/Chunk;markBlockForPostProcessing(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_12039
Lnet/minecraft/class_2791;method_12039(Lnet/minecraft/class_2338;)V
official e
Ldzp;e(Ljh;)V
-
getPostProcessingLists
- Mappings:
Namespace Name Mixin selector named getPostProcessingLists
Lnet/minecraft/world/chunk/Chunk;getPostProcessingLists()[Lit/unimi/dsi/fastutil/shorts/ShortList;
intermediary method_12012
Lnet/minecraft/class_2791;method_12012()[Lit/unimi/dsi/fastutil/shorts/ShortList;
official p
Ldzp;p()[Lit/unimi/dsi/fastutil/shorts/ShortList;
-
markBlocksForPostProcessing
- Mappings:
Namespace Name Mixin selector named markBlocksForPostProcessing
Lnet/minecraft/world/chunk/Chunk;markBlocksForPostProcessing(Lit/unimi/dsi/fastutil/shorts/ShortList;I)V
intermediary method_12029
Lnet/minecraft/class_2791;method_12029(Lit/unimi/dsi/fastutil/shorts/ShortList;I)V
official a
Ldzp;a(Lit/unimi/dsi/fastutil/shorts/ShortList;I)V
-
addPendingBlockEntityNbt
- Mappings:
Namespace Name Mixin selector named addPendingBlockEntityNbt
Lnet/minecraft/world/chunk/Chunk;addPendingBlockEntityNbt(Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_12042
Lnet/minecraft/class_2791;method_12042(Lnet/minecraft/class_2487;)V
official a
Ldzp;a(Lux;)V
-
getBlockEntityNbt
- Mappings:
Namespace Name Mixin selector named getBlockEntityNbt
Lnet/minecraft/world/chunk/Chunk;getBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/NbtCompound;
intermediary method_12024
Lnet/minecraft/class_2791;method_12024(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;
official f
Ldzp;f(Ljh;)Lux;
-
getPackedBlockEntityNbt
@Nullable public abstract @Nullable NbtCompound getPackedBlockEntityNbt(BlockPos pos, RegistryWrapper.WrapperLookup registries) - Mappings:
Namespace Name Mixin selector named getPackedBlockEntityNbt
Lnet/minecraft/world/chunk/Chunk;getPackedBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/nbt/NbtCompound;
intermediary method_20598
Lnet/minecraft/class_2791;method_20598(Lnet/minecraft/class_2338;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
official a
Ldzp;a(Ljh;Ljs$a;)Lux;
-
forEachLightSource
- Specified by:
forEachLightSource
in interfaceLightSourceView
- Mappings:
Namespace Name Mixin selector named forEachLightSource
Lnet/minecraft/world/chunk/light/LightSourceView;forEachLightSource(Ljava/util/function/BiConsumer;)V
intermediary method_51524
Lnet/minecraft/class_8527;method_51524(Ljava/util/function/BiConsumer;)V
official a
Leab;a(Ljava/util/function/BiConsumer;)V
-
forEachBlockMatchingPredicate
public void forEachBlockMatchingPredicate(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) - Mappings:
Namespace Name Mixin selector named forEachBlockMatchingPredicate
Lnet/minecraft/world/chunk/Chunk;forEachBlockMatchingPredicate(Ljava/util/function/Predicate;Ljava/util/function/BiConsumer;)V
intermediary method_51525
Lnet/minecraft/class_2791;method_51525(Ljava/util/function/Predicate;Ljava/util/function/BiConsumer;)V
official a
Ldzp;a(Ljava/util/function/Predicate;Ljava/util/function/BiConsumer;)V
-
getBlockTickScheduler
- Mappings:
Namespace Name Mixin selector named getBlockTickScheduler
Lnet/minecraft/world/chunk/Chunk;getBlockTickScheduler()Lnet/minecraft/world/tick/BasicTickScheduler;
intermediary method_12013
Lnet/minecraft/class_2791;method_12013()Lnet/minecraft/class_6763;
official q
Ldzp;q()Lfds;
-
getFluidTickScheduler
- Mappings:
Namespace Name Mixin selector named getFluidTickScheduler
Lnet/minecraft/world/chunk/Chunk;getFluidTickScheduler()Lnet/minecraft/world/tick/BasicTickScheduler;
intermediary method_12014
Lnet/minecraft/class_2791;method_12014()Lnet/minecraft/class_6763;
official r
Ldzp;r()Lfds;
-
isSerializable
public boolean isSerializable()- Mappings:
Namespace Name Mixin selector named isSerializable
Lnet/minecraft/world/chunk/Chunk;isSerializable()Z
intermediary method_65069
Lnet/minecraft/class_2791;method_65069()Z
official s
Ldzp;s()Z
-
getTickSchedulers
- Mappings:
Namespace Name Mixin selector named getTickSchedulers
Lnet/minecraft/world/chunk/Chunk;getTickSchedulers(J)Lnet/minecraft/world/chunk/Chunk$TickSchedulers;
intermediary method_39296
Lnet/minecraft/class_2791;method_39296(J)Lnet/minecraft/class_2791$class_6745;
official a
Ldzp;a(J)Ldzp$a;
-
getUpgradeData
- Mappings:
Namespace Name Mixin selector named getUpgradeData
Lnet/minecraft/world/chunk/Chunk;getUpgradeData()Lnet/minecraft/world/chunk/UpgradeData;
intermediary method_12003
Lnet/minecraft/class_2791;method_12003()Lnet/minecraft/class_2843;
official t
Ldzp;t()Leam;
-
usesOldNoise
public boolean usesOldNoise()- Mappings:
Namespace Name Mixin selector named usesOldNoise
Lnet/minecraft/world/chunk/Chunk;usesOldNoise()Z
intermediary method_39297
Lnet/minecraft/class_2791;method_39297()Z
official u
Ldzp;u()Z
-
getBlendingData
- Mappings:
Namespace Name Mixin selector named getBlendingData
Lnet/minecraft/world/chunk/Chunk;getBlendingData()Lnet/minecraft/world/gen/chunk/BlendingData;
intermediary method_39299
Lnet/minecraft/class_2791;method_39299()Lnet/minecraft/class_6749;
official v
Ldzp;v()Lees;
-
getInhabitedTime
public long getInhabitedTime()- Mappings:
Namespace Name Mixin selector named getInhabitedTime
Lnet/minecraft/world/chunk/Chunk;getInhabitedTime()J
intermediary method_12033
Lnet/minecraft/class_2791;method_12033()J
official w
Ldzp;w()J
-
increaseInhabitedTime
public void increaseInhabitedTime(long delta) - Mappings:
Namespace Name Mixin selector named increaseInhabitedTime
Lnet/minecraft/world/chunk/Chunk;increaseInhabitedTime(J)V
intermediary method_38870
Lnet/minecraft/class_2791;method_38870(J)V
official b
Ldzp;b(J)V
-
setInhabitedTime
public void setInhabitedTime(long inhabitedTime) - Mappings:
Namespace Name Mixin selector named setInhabitedTime
Lnet/minecraft/world/chunk/Chunk;setInhabitedTime(J)V
intermediary method_12028
Lnet/minecraft/class_2791;method_12028(J)V
official c
Ldzp;c(J)V
-
getList
- Mappings:
Namespace Name Mixin selector named getList
Lnet/minecraft/world/chunk/Chunk;getList([Lit/unimi/dsi/fastutil/shorts/ShortList;I)Lit/unimi/dsi/fastutil/shorts/ShortList;
intermediary method_12026
Lnet/minecraft/class_2791;method_12026([Lit/unimi/dsi/fastutil/shorts/ShortList;I)Lit/unimi/dsi/fastutil/shorts/ShortList;
official a
Ldzp;a([Lit/unimi/dsi/fastutil/shorts/ShortList;I)Lit/unimi/dsi/fastutil/shorts/ShortList;
-
isLightOn
public boolean isLightOn()- Mappings:
Namespace Name Mixin selector named isLightOn
Lnet/minecraft/world/chunk/Chunk;isLightOn()Z
intermediary method_12038
Lnet/minecraft/class_2791;method_12038()Z
official x
Ldzp;x()Z
-
setLightOn
public void setLightOn(boolean lightOn) - Mappings:
Namespace Name Mixin selector named setLightOn
Lnet/minecraft/world/chunk/Chunk;setLightOn(Z)V
intermediary method_12020
Lnet/minecraft/class_2791;method_12020(Z)V
official a
Ldzp;a(Z)V
-
getBottomY
public int getBottomY()Returns the bottom Y level, or height, inclusive, of this view.- Specified by:
getBottomY
in interfaceHeightLimitView
- See Also:
- Mappings:
Namespace Name Mixin selector named getBottomY
Lnet/minecraft/world/HeightLimitView;getBottomY()I
intermediary method_31607
Lnet/minecraft/class_5539;method_31607()I
official L_
Ldhj;L_()I
-
getHeight
public int getHeight()Returns the difference in the minimum and maximum height.This is the number of blocks that can be modified in any vertical column within the view, or the vertical size, in blocks, of the view.
- Specified by:
getHeight
in interfaceHeightLimitView
- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
Namespace Name Mixin selector named getHeight
Lnet/minecraft/world/HeightLimitView;getHeight()I
intermediary method_31605
Lnet/minecraft/class_5539;method_31605()I
official M_
Ldhj;M_()I
-
getOrCreateChunkNoiseSampler
public ChunkNoiseSampler getOrCreateChunkNoiseSampler(Function<Chunk, ChunkNoiseSampler> chunkNoiseSamplerCreator) - Mappings:
Namespace Name Mixin selector named getOrCreateChunkNoiseSampler
Lnet/minecraft/world/chunk/Chunk;getOrCreateChunkNoiseSampler(Ljava/util/function/Function;)Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
intermediary method_38255
Lnet/minecraft/class_2791;method_38255(Ljava/util/function/Function;)Lnet/minecraft/class_6568;
official a
Ldzp;a(Ljava/util/function/Function;)Ledt;
-
getOrCreateGenerationSettings
@Deprecated public GenerationSettings getOrCreateGenerationSettings(Supplier<GenerationSettings> generationSettingsCreator) Deprecated.- Mappings:
Namespace Name Mixin selector named getOrCreateGenerationSettings
Lnet/minecraft/world/chunk/Chunk;getOrCreateGenerationSettings(Ljava/util/function/Supplier;)Lnet/minecraft/world/biome/GenerationSettings;
intermediary method_44214
Lnet/minecraft/class_2791;method_44214(Ljava/util/function/Supplier;)Lnet/minecraft/class_5485;
official a
Ldzp;a(Ljava/util/function/Supplier;)Ldik;
-
getBiomeForNoiseGen
- Specified by:
getBiomeForNoiseGen
in interfaceBiomeAccess.Storage
- Mappings:
Namespace Name Mixin selector named getBiomeForNoiseGen
Lnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/registry/entry/RegistryEntry;
intermediary method_16359
Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_6880;
official getNoiseBiome
Ldil$a;getNoiseBiome(III)Ljq;
-
populateBiomes
- Mappings:
Namespace Name Mixin selector named populateBiomes
Lnet/minecraft/world/chunk/Chunk;populateBiomes(Lnet/minecraft/world/biome/source/BiomeSupplier;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)V
intermediary method_38257
Lnet/minecraft/class_2791;method_38257(Lnet/minecraft/class_6780;Lnet/minecraft/class_6544$class_6552;)V
official a
Ldzp;a(Ldim;Ldis$f;)V
-
hasStructureReferences
public boolean hasStructureReferences()- Mappings:
Namespace Name Mixin selector named hasStructureReferences
Lnet/minecraft/world/chunk/Chunk;hasStructureReferences()Z
intermediary method_38871
Lnet/minecraft/class_2791;method_38871()Z
official y
Ldzp;y()Z
-
getBelowZeroRetrogen
- Mappings:
Namespace Name Mixin selector named getBelowZeroRetrogen
Lnet/minecraft/world/chunk/Chunk;getBelowZeroRetrogen()Lnet/minecraft/world/chunk/BelowZeroRetrogen;
intermediary method_39300
Lnet/minecraft/class_2791;method_39300()Lnet/minecraft/class_6746;
official z
Ldzp;z()Ledd;
-
hasBelowZeroRetrogen
public boolean hasBelowZeroRetrogen()- Mappings:
Namespace Name Mixin selector named hasBelowZeroRetrogen
Lnet/minecraft/world/chunk/Chunk;hasBelowZeroRetrogen()Z
intermediary method_39461
Lnet/minecraft/class_2791;method_39461()Z
official A
Ldzp;A()Z
-
getHeightLimitView
- Mappings:
Namespace Name Mixin selector named getHeightLimitView
Lnet/minecraft/world/chunk/Chunk;getHeightLimitView()Lnet/minecraft/world/HeightLimitView;
intermediary method_39460
Lnet/minecraft/class_2791;method_39460()Lnet/minecraft/class_5539;
official B
Ldzp;B()Ldhj;
-
refreshSurfaceY
public void refreshSurfaceY()- Mappings:
Namespace Name Mixin selector named refreshSurfaceY
Lnet/minecraft/world/chunk/Chunk;refreshSurfaceY()V
intermediary method_51522
Lnet/minecraft/class_2791;method_51522()V
official C
Ldzp;C()V
-
getChunkSkyLight
- Specified by:
getChunkSkyLight
in interfaceLightSourceView
- Mappings:
Namespace Name Mixin selector named getChunkSkyLight
Lnet/minecraft/world/chunk/light/LightSourceView;getChunkSkyLight()Lnet/minecraft/world/chunk/light/ChunkSkyLight;
intermediary method_12018
Lnet/minecraft/class_8527;method_12018()Lnet/minecraft/class_8528;
official D
Leab;D()Letg;
-