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/Chunkintermediary net/minecraft/class_2791official eed
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final recordstatic final recordNested classes/interfaces inherited from interface net.minecraft.world.BlockView
BlockView.CollisionVisitor -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable BlendingDataprotected final Map<BlockPos, BlockEntity> protected final Map<BlockPos, NbtCompound> protected @Nullable ChunkNoiseSamplerprotected ChunkSkyLightprivate static final LongSetprivate @Nullable GenerationSettingsDeprecated.protected final HeightLimitViewprotected final Map<Heightmap.Type, Heightmap> private longprivate booleanprivate static final Loggerstatic final intprivate booleanprotected final ChunkPosprotected final ShortList[]protected final ChunkSection[]private final Map<Structure, StructureStart> protected final UpgradeDataFields inherited from interface net.minecraft.world.BlockView
field_54147 -
Constructor Summary
ConstructorsConstructorDescriptionChunk(ChunkPos pos, UpgradeData upgradeData, HeightLimitView heightLimitView, Registry<Biome> biomeRegistry, long inhabitedTime, @Nullable ChunkSection[] sectionArray, @Nullable BlendingData blendingData) -
Method Summary
Modifier and TypeMethodDescriptionabstract voidvoidvoidaddStructureReference(Structure structure, long reference) booleanareSectionsEmptyBetween(int lowerHeight, int upperHeight) private static voidfillSectionArray(Registry<Biome> biomeRegistry, ChunkSection[] sectionArray) voidforEachBlockMatchingPredicate(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) final voidforEachLightSource(BiConsumer<BlockPos, BlockState> callback) getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ) abstract BasicTickScheduler<Block> intReturns the bottom Y level, or height, inclusive, of this view.abstract BasicTickScheduler<Fluid> getGameEventDispatcher(int ySectionCoord) intgetHeightmap(Heightmap.Type type) intintDeprecated, for removal: This API element is subject to removal in a future version.longstatic ShortListReturns 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 NbtCompoundgetPackedBlockEntityNbt(BlockPos pos, RegistryWrapper.WrapperLookup registries) getPos()getSection(int yIndex) abstract ChunkStatusgetStructureReferences(Structure structure) getStructureStart(Structure structure) abstract Chunk.TickSchedulersgetTickSchedulers(long time) booleanbooleanhasHeightmap(Heightmap.Type type) booleanvoidincreaseInhabitedTime(long timeDelta) booleanbooleanisSectionEmpty(int sectionCoord) booleanvoidvoidmarkBlocksForPostProcessing(ShortList packedPositions, int index) voidstatic ErrorReporter.Contextmethod_71413(ChunkPos chunkPos) booleanvoidpopulateBiomes(BiomeSupplier biomeSupplier, MultiNoiseUtil.MultiNoiseSampler sampler) voidabstract voidintsampleHeightmap(Heightmap.Type type, int x, int z) abstract voidsetBlockEntity(BlockEntity blockEntity) setBlockState(BlockPos pos, BlockState state) abstract @Nullable BlockStatesetBlockState(BlockPos pos, BlockState state, int flags) voidsetHeightmap(Heightmap.Type type, long[] heightmap) voidsetInhabitedTime(long inhabitedTime) voidsetLightOn(boolean lightOn) voidsetStructureReferences(Map<Structure, LongSet> structureReferences) voidsetStructureStart(Structure structure, StructureStart start) voidsetStructureStarts(Map<Structure, StructureStart> structureStarts) booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getStatesInBox, raycast, raycast, raycastBlockMethods 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_SECTIONLnet/minecraft/world/chunk/Chunk;MISSING_SECTION:Iintermediary field_44632Lnet/minecraft/class_2791;field_44632:Iofficial aLeed;a:I
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/world/chunk/Chunk;LOGGER:Lorg/slf4j/Logger;intermediary field_34548Lnet/minecraft/class_2791;field_34548:Lorg/slf4j/Logger;official nLeed;n:Lorg/slf4j/Logger;
-
EMPTY_STRUCTURE_REFERENCES
- Mappings:
Namespace Name Mixin selector named EMPTY_STRUCTURE_REFERENCESLnet/minecraft/world/chunk/Chunk;EMPTY_STRUCTURE_REFERENCES:Lit/unimi/dsi/fastutil/longs/LongSet;intermediary field_37052Lnet/minecraft/class_2791;field_37052:Lit/unimi/dsi/fastutil/longs/LongSet;official oLeed;o:Lit/unimi/dsi/fastutil/longs/LongSet;
-
postProcessingLists
- Mappings:
Namespace Name Mixin selector named postProcessingListsLnet/minecraft/world/chunk/Chunk;postProcessingLists:[Lit/unimi/dsi/fastutil/shorts/ShortList;intermediary field_34536Lnet/minecraft/class_2791;field_34536:[Lit/unimi/dsi/fastutil/shorts/ShortList;official bLeed;b:[Lit/unimi/dsi/fastutil/shorts/ShortList;
-
needsSaving
private volatile boolean needsSaving- Mappings:
Namespace Name Mixin selector named needsSavingLnet/minecraft/world/chunk/Chunk;needsSaving:Zintermediary field_34537Lnet/minecraft/class_2791;field_34537:Zofficial pLeed;p:Z
-
lightOn
private volatile boolean lightOn- Mappings:
Namespace Name Mixin selector named lightOnLnet/minecraft/world/chunk/Chunk;lightOn:Zintermediary field_34549Lnet/minecraft/class_2791;field_34549:Zofficial qLeed;q:Z
-
pos
- Mappings:
Namespace Name Mixin selector named posLnet/minecraft/world/chunk/Chunk;pos:Lnet/minecraft/util/math/ChunkPos;intermediary field_34538Lnet/minecraft/class_2791;field_34538:Lnet/minecraft/class_1923;official cLeed;c:Ldke;
-
inhabitedTime
private long inhabitedTime- Mappings:
Namespace Name Mixin selector named inhabitedTimeLnet/minecraft/world/chunk/Chunk;inhabitedTime:Jintermediary field_34550Lnet/minecraft/class_2791;field_34550:Jofficial rLeed;r:J
-
generationSettings
Deprecated.- Mappings:
Namespace Name Mixin selector named generationSettingsLnet/minecraft/world/chunk/Chunk;generationSettings:Lnet/minecraft/world/biome/GenerationSettings;intermediary field_39411Lnet/minecraft/class_2791;field_39411:Lnet/minecraft/class_5485;official sLeed;s:Ldmd;
-
chunkNoiseSampler
- Mappings:
Namespace Name Mixin selector named chunkNoiseSamplerLnet/minecraft/world/chunk/Chunk;chunkNoiseSampler:Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;intermediary field_34539Lnet/minecraft/class_2791;field_34539:Lnet/minecraft/class_6568;official dLeed;d:Leij;
-
upgradeData
- Mappings:
Namespace Name Mixin selector named upgradeDataLnet/minecraft/world/chunk/Chunk;upgradeData:Lnet/minecraft/world/chunk/UpgradeData;intermediary field_34540Lnet/minecraft/class_2791;field_34540:Lnet/minecraft/class_2843;official eLeed;e:Lefa;
-
blendingData
- Mappings:
Namespace Name Mixin selector named blendingDataLnet/minecraft/world/chunk/Chunk;blendingData:Lnet/minecraft/world/gen/chunk/BlendingData;intermediary field_35468Lnet/minecraft/class_2791;field_35468:Lnet/minecraft/class_6749;official fLeed;f:Leji;
-
heightmaps
- Mappings:
Namespace Name Mixin selector named heightmapsLnet/minecraft/world/chunk/Chunk;heightmaps:Ljava/util/Map;intermediary field_34541Lnet/minecraft/class_2791;field_34541:Ljava/util/Map;official hLeed;h:Ljava/util/Map;
-
chunkSkyLight
- Mappings:
Namespace Name Mixin selector named chunkSkyLightLnet/minecraft/world/chunk/Chunk;chunkSkyLight:Lnet/minecraft/world/chunk/light/ChunkSkyLight;intermediary field_44708Lnet/minecraft/class_2791;field_44708:Lnet/minecraft/class_8528;official iLeed;i:Leya;
-
structureStarts
- Mappings:
Namespace Name Mixin selector named structureStartsLnet/minecraft/world/chunk/Chunk;structureStarts:Ljava/util/Map;intermediary field_34552Lnet/minecraft/class_2791;field_34552:Ljava/util/Map;official tLeed;t:Ljava/util/Map;
-
structureReferences
- Mappings:
Namespace Name Mixin selector named structureReferencesLnet/minecraft/world/chunk/Chunk;structureReferences:Ljava/util/Map;intermediary field_34553Lnet/minecraft/class_2791;field_34553:Ljava/util/Map;official uLeed;u:Ljava/util/Map;
-
blockEntityNbts
- Mappings:
Namespace Name Mixin selector named blockEntityNbtsLnet/minecraft/world/chunk/Chunk;blockEntityNbts:Ljava/util/Map;intermediary field_34542Lnet/minecraft/class_2791;field_34542:Ljava/util/Map;official jLeed;j:Ljava/util/Map;
-
blockEntities
- Mappings:
Namespace Name Mixin selector named blockEntitiesLnet/minecraft/world/chunk/Chunk;blockEntities:Ljava/util/Map;intermediary field_34543Lnet/minecraft/class_2791;field_34543:Ljava/util/Map;official kLeed;k:Ljava/util/Map;
-
heightLimitView
- Mappings:
Namespace Name Mixin selector named heightLimitViewLnet/minecraft/world/chunk/Chunk;heightLimitView:Lnet/minecraft/world/HeightLimitView;intermediary field_34544Lnet/minecraft/class_2791;field_34544:Lnet/minecraft/class_5539;official lLeed;l:Ldlb;
-
sectionArray
- Mappings:
Namespace Name Mixin selector named sectionArrayLnet/minecraft/world/chunk/Chunk;sectionArray:[Lnet/minecraft/world/chunk/ChunkSection;intermediary field_34545Lnet/minecraft/class_2791;field_34545:[Lnet/minecraft/class_2826;official mLeed;m:[Leeo;
-
-
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;)Vintermediary <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;)Vofficial <init>Leed;<init>(Ldke;Lefa;Ldlb;Ljv;J[Leeo;Leji;)V
-
-
Method Details
-
fillSectionArray
- Mappings:
Namespace Name Mixin selector named fillSectionArrayLnet/minecraft/world/chunk/Chunk;fillSectionArray(Lnet/minecraft/registry/Registry;[Lnet/minecraft/world/chunk/ChunkSection;)Vintermediary method_38256Lnet/minecraft/class_2791;method_38256(Lnet/minecraft/class_2378;[Lnet/minecraft/class_2826;)Vofficial aLeed;a(Ljv;[Leeo;)V
-
getGameEventDispatcher
- Mappings:
Namespace Name Mixin selector named getGameEventDispatcherLnet/minecraft/world/chunk/Chunk;getGameEventDispatcher(I)Lnet/minecraft/world/event/listener/GameEventDispatcher;intermediary method_32914Lnet/minecraft/class_2791;method_32914(I)Lnet/minecraft/class_5713;official aLeed;a(I)Lehj;
-
setBlockState
- Mappings:
Namespace Name Mixin selector named setBlockStateLnet/minecraft/world/chunk/Chunk;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;intermediary method_66480Lnet/minecraft/class_2791;method_66480(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;official aLeed;a(Liy;Lecg;)Lecg;
-
setBlockState
@Nullable public abstract @Nullable BlockState setBlockState(BlockPos pos, BlockState state, int flags) - Mappings:
Namespace Name Mixin selector named setBlockStateLnet/minecraft/world/chunk/Chunk;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Lnet/minecraft/block/BlockState;intermediary method_12010Lnet/minecraft/class_2791;method_12010(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;I)Lnet/minecraft/class_2680;official aLeed;a(Liy;Lecg;I)Lecg;
-
setBlockEntity
- Mappings:
Namespace Name Mixin selector named setBlockEntityLnet/minecraft/world/chunk/Chunk;setBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)Vintermediary method_12007Lnet/minecraft/class_2791;method_12007(Lnet/minecraft/class_2586;)Vofficial aLeed;a(Ldze;)V
-
addEntity
- Mappings:
Namespace Name Mixin selector named addEntityLnet/minecraft/world/chunk/Chunk;addEntity(Lnet/minecraft/entity/Entity;)Vintermediary method_12002Lnet/minecraft/class_2791;method_12002(Lnet/minecraft/class_1297;)Vofficial aLeed;a(Lbxs;)V
-
getHighestNonEmptySection
public int getHighestNonEmptySection()- Mappings:
Namespace Name Mixin selector named getHighestNonEmptySectionLnet/minecraft/world/chunk/Chunk;getHighestNonEmptySection()Iintermediary method_12040Lnet/minecraft/class_2791;method_12040()Iofficial aLeed;a()I
-
getHighestNonEmptySectionYOffset
Deprecated, for removal: This API element is subject to removal in a future version.- Mappings:
Namespace Name Mixin selector named getHighestNonEmptySectionYOffsetLnet/minecraft/world/chunk/Chunk;getHighestNonEmptySectionYOffset()Iintermediary method_12031Lnet/minecraft/class_2791;method_12031()Iofficial bLeed;b()I
-
getBlockEntityPositions
- Mappings:
Namespace Name Mixin selector named getBlockEntityPositionsLnet/minecraft/world/chunk/Chunk;getBlockEntityPositions()Ljava/util/Set;intermediary method_12021Lnet/minecraft/class_2791;method_12021()Ljava/util/Set;official cLeed;c()Ljava/util/Set;
-
getSectionArray
- Mappings:
Namespace Name Mixin selector named getSectionArrayLnet/minecraft/world/chunk/Chunk;getSectionArray()[Lnet/minecraft/world/chunk/ChunkSection;intermediary method_12006Lnet/minecraft/class_2791;method_12006()[Lnet/minecraft/class_2826;official dLeed;d()[Leeo;
-
getSection
- Mappings:
Namespace Name Mixin selector named getSectionLnet/minecraft/world/chunk/Chunk;getSection(I)Lnet/minecraft/world/chunk/ChunkSection;intermediary method_38259Lnet/minecraft/class_2791;method_38259(I)Lnet/minecraft/class_2826;official bLeed;b(I)Leeo;
-
getHeightmaps
- Mappings:
Namespace Name Mixin selector named getHeightmapsLnet/minecraft/world/chunk/Chunk;getHeightmaps()Ljava/util/Collection;intermediary method_12011Lnet/minecraft/class_2791;method_12011()Ljava/util/Collection;official eLeed;e()Ljava/util/Collection;
-
setHeightmap
- Mappings:
Namespace Name Mixin selector named setHeightmapLnet/minecraft/world/chunk/Chunk;setHeightmap(Lnet/minecraft/world/Heightmap$Type;[J)Vintermediary method_12037Lnet/minecraft/class_2791;method_12037(Lnet/minecraft/class_2902$class_2903;[J)Vofficial aLeed;a(Leif$a;[J)V
-
getHeightmap
- Mappings:
Namespace Name Mixin selector named getHeightmapLnet/minecraft/world/chunk/Chunk;getHeightmap(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/world/Heightmap;intermediary method_12032Lnet/minecraft/class_2791;method_12032(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_2902;official aLeed;a(Leif$a;)Leif;
-
hasHeightmap
- Mappings:
Namespace Name Mixin selector named hasHeightmapLnet/minecraft/world/chunk/Chunk;hasHeightmap(Lnet/minecraft/world/Heightmap$Type;)Zintermediary method_39295Lnet/minecraft/class_2791;method_39295(Lnet/minecraft/class_2902$class_2903;)Zofficial bLeed;b(Leif$a;)Z
-
sampleHeightmap
- Mappings:
Namespace Name Mixin selector named sampleHeightmapLnet/minecraft/world/chunk/Chunk;sampleHeightmap(Lnet/minecraft/world/Heightmap$Type;II)Iintermediary method_12005Lnet/minecraft/class_2791;method_12005(Lnet/minecraft/class_2902$class_2903;II)Iofficial aLeed;a(Leif$a;II)I
-
getPos
- Mappings:
Namespace Name Mixin selector named getPosLnet/minecraft/world/chunk/Chunk;getPos()Lnet/minecraft/util/math/ChunkPos;intermediary method_12004Lnet/minecraft/class_2791;method_12004()Lnet/minecraft/class_1923;official fLeed;f()Ldke;
-
getStructureStart
- Specified by:
getStructureStartin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector named getStructureStartLnet/minecraft/world/StructureHolder;getStructureStart(Lnet/minecraft/world/gen/structure/Structure;)Lnet/minecraft/structure/StructureStart;intermediary method_12181Lnet/minecraft/class_2810;method_12181(Lnet/minecraft/class_3195;)Lnet/minecraft/class_3449;official aLeez;a(Letd;)Letl;
-
setStructureStart
- Specified by:
setStructureStartin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector named setStructureStartLnet/minecraft/world/StructureHolder;setStructureStart(Lnet/minecraft/world/gen/structure/Structure;Lnet/minecraft/structure/StructureStart;)Vintermediary method_12184Lnet/minecraft/class_2810;method_12184(Lnet/minecraft/class_3195;Lnet/minecraft/class_3449;)Vofficial aLeez;a(Letd;Letl;)V
-
getStructureStarts
- Mappings:
Namespace Name Mixin selector named getStructureStartsLnet/minecraft/world/chunk/Chunk;getStructureStarts()Ljava/util/Map;intermediary method_12016Lnet/minecraft/class_2791;method_12016()Ljava/util/Map;official gLeed;g()Ljava/util/Map;
-
setStructureStarts
- Mappings:
Namespace Name Mixin selector named setStructureStartsLnet/minecraft/world/chunk/Chunk;setStructureStarts(Ljava/util/Map;)Vintermediary method_12034Lnet/minecraft/class_2791;method_12034(Ljava/util/Map;)Vofficial aLeed;a(Ljava/util/Map;)V
-
getStructureReferences
- Specified by:
getStructureReferencesin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector named getStructureReferencesLnet/minecraft/world/StructureHolder;getStructureReferences(Lnet/minecraft/world/gen/structure/Structure;)Lit/unimi/dsi/fastutil/longs/LongSet;intermediary method_12180Lnet/minecraft/class_2810;method_12180(Lnet/minecraft/class_3195;)Lit/unimi/dsi/fastutil/longs/LongSet;official bLeez;b(Letd;)Lit/unimi/dsi/fastutil/longs/LongSet;
-
addStructureReference
- Specified by:
addStructureReferencein interfaceStructureHolder- Mappings:
Namespace Name Mixin selector named addStructureReferenceLnet/minecraft/world/StructureHolder;addStructureReference(Lnet/minecraft/world/gen/structure/Structure;J)Vintermediary method_12182Lnet/minecraft/class_2810;method_12182(Lnet/minecraft/class_3195;J)Vofficial aLeez;a(Letd;J)V
-
getStructureReferences
- Specified by:
getStructureReferencesin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector named getStructureReferencesLnet/minecraft/world/StructureHolder;getStructureReferences()Ljava/util/Map;intermediary method_12179Lnet/minecraft/class_2810;method_12179()Ljava/util/Map;official hLeez;h()Ljava/util/Map;
-
setStructureReferences
- Specified by:
setStructureReferencesin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector named setStructureReferencesLnet/minecraft/world/StructureHolder;setStructureReferences(Ljava/util/Map;)Vintermediary method_12183Lnet/minecraft/class_2810;method_12183(Ljava/util/Map;)Vofficial bLeez;b(Ljava/util/Map;)V
-
areSectionsEmptyBetween
public boolean areSectionsEmptyBetween(int lowerHeight, int upperHeight) - Mappings:
Namespace Name Mixin selector named areSectionsEmptyBetweenLnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Zintermediary method_12228Lnet/minecraft/class_2791;method_12228(II)Zofficial aLeed;a(II)Z
-
isSectionEmpty
public boolean isSectionEmpty(int sectionCoord) - Mappings:
Namespace Name Mixin selector named isSectionEmptyLnet/minecraft/world/chunk/Chunk;isSectionEmpty(I)Zintermediary method_60791Lnet/minecraft/class_2791;method_60791(I)Zofficial cLeed;c(I)Z
-
markNeedsSaving
public void markNeedsSaving()- Mappings:
Namespace Name Mixin selector named markNeedsSavingLnet/minecraft/world/chunk/Chunk;markNeedsSaving()Vintermediary method_65063Lnet/minecraft/class_2791;method_65063()Vofficial iLeed;i()V
-
tryMarkSaved
public boolean tryMarkSaved()- Mappings:
Namespace Name Mixin selector named tryMarkSavedLnet/minecraft/world/chunk/Chunk;tryMarkSaved()Zintermediary method_65064Lnet/minecraft/class_2791;method_65064()Zofficial jLeed;j()Z
-
needsSaving
public boolean needsSaving()- Mappings:
Namespace Name Mixin selector named needsSavingLnet/minecraft/world/chunk/Chunk;needsSaving()Zintermediary method_12044Lnet/minecraft/class_2791;method_12044()Zofficial kLeed;k()Z
-
getStatus
- Mappings:
Namespace Name Mixin selector named getStatusLnet/minecraft/world/chunk/Chunk;getStatus()Lnet/minecraft/world/chunk/ChunkStatus;intermediary method_12009Lnet/minecraft/class_2791;method_12009()Lnet/minecraft/class_2806;official nLeed;n()Lefe;
-
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 getMaxStatusLnet/minecraft/world/chunk/Chunk;getMaxStatus()Lnet/minecraft/world/chunk/ChunkStatus;intermediary method_51526Lnet/minecraft/class_2791;method_51526()Lnet/minecraft/class_2806;official oLeed;o()Lefe;
-
removeBlockEntity
- Mappings:
Namespace Name Mixin selector named removeBlockEntityLnet/minecraft/world/chunk/Chunk;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_12041Lnet/minecraft/class_2791;method_12041(Lnet/minecraft/class_2338;)Vofficial dLeed;d(Liy;)V
-
markBlockForPostProcessing
- Mappings:
Namespace Name Mixin selector named markBlockForPostProcessingLnet/minecraft/world/chunk/Chunk;markBlockForPostProcessing(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_12039Lnet/minecraft/class_2791;method_12039(Lnet/minecraft/class_2338;)Vofficial eLeed;e(Liy;)V
-
getPostProcessingLists
- Mappings:
Namespace Name Mixin selector named getPostProcessingListsLnet/minecraft/world/chunk/Chunk;getPostProcessingLists()[Lit/unimi/dsi/fastutil/shorts/ShortList;intermediary method_12012Lnet/minecraft/class_2791;method_12012()[Lit/unimi/dsi/fastutil/shorts/ShortList;official pLeed;p()[Lit/unimi/dsi/fastutil/shorts/ShortList;
-
markBlocksForPostProcessing
- Mappings:
Namespace Name Mixin selector named markBlocksForPostProcessingLnet/minecraft/world/chunk/Chunk;markBlocksForPostProcessing(Lit/unimi/dsi/fastutil/shorts/ShortList;I)Vintermediary method_12029Lnet/minecraft/class_2791;method_12029(Lit/unimi/dsi/fastutil/shorts/ShortList;I)Vofficial aLeed;a(Lit/unimi/dsi/fastutil/shorts/ShortList;I)V
-
addPendingBlockEntityNbt
- Mappings:
Namespace Name Mixin selector named addPendingBlockEntityNbtLnet/minecraft/world/chunk/Chunk;addPendingBlockEntityNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_12042Lnet/minecraft/class_2791;method_12042(Lnet/minecraft/class_2487;)Vofficial aLeed;a(Lue;)V
-
getBlockEntityNbt
- Mappings:
Namespace Name Mixin selector named getBlockEntityNbtLnet/minecraft/world/chunk/Chunk;getBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/NbtCompound;intermediary method_12024Lnet/minecraft/class_2791;method_12024(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;official fLeed;f(Liy;)Lue;
-
getPackedBlockEntityNbt
@Nullable public abstract @Nullable NbtCompound getPackedBlockEntityNbt(BlockPos pos, RegistryWrapper.WrapperLookup registries) - Mappings:
Namespace Name Mixin selector named getPackedBlockEntityNbtLnet/minecraft/world/chunk/Chunk;getPackedBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/nbt/NbtCompound;intermediary method_20598Lnet/minecraft/class_2791;method_20598(Lnet/minecraft/class_2338;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;official aLeed;a(Liy;Ljk$a;)Lue;
-
forEachLightSource
- Specified by:
forEachLightSourcein interfaceLightSourceView- Mappings:
Namespace Name Mixin selector named forEachLightSourceLnet/minecraft/world/chunk/light/LightSourceView;forEachLightSource(Ljava/util/function/BiConsumer;)Vintermediary method_51524Lnet/minecraft/class_8527;method_51524(Ljava/util/function/BiConsumer;)Vofficial aLeep;a(Ljava/util/function/BiConsumer;)V
-
forEachBlockMatchingPredicate
public void forEachBlockMatchingPredicate(Predicate<BlockState> predicate, BiConsumer<BlockPos, BlockState> consumer) - Mappings:
Namespace Name Mixin selector named forEachBlockMatchingPredicateLnet/minecraft/world/chunk/Chunk;forEachBlockMatchingPredicate(Ljava/util/function/Predicate;Ljava/util/function/BiConsumer;)Vintermediary method_51525Lnet/minecraft/class_2791;method_51525(Ljava/util/function/Predicate;Ljava/util/function/BiConsumer;)Vofficial aLeed;a(Ljava/util/function/Predicate;Ljava/util/function/BiConsumer;)V
-
getBlockTickScheduler
- Mappings:
Namespace Name Mixin selector named getBlockTickSchedulerLnet/minecraft/world/chunk/Chunk;getBlockTickScheduler()Lnet/minecraft/world/tick/BasicTickScheduler;intermediary method_12013Lnet/minecraft/class_2791;method_12013()Lnet/minecraft/class_6763;official qLeed;q()Lfis;
-
getFluidTickScheduler
- Mappings:
Namespace Name Mixin selector named getFluidTickSchedulerLnet/minecraft/world/chunk/Chunk;getFluidTickScheduler()Lnet/minecraft/world/tick/BasicTickScheduler;intermediary method_12014Lnet/minecraft/class_2791;method_12014()Lnet/minecraft/class_6763;official rLeed;r()Lfis;
-
isSerializable
public boolean isSerializable()- Mappings:
Namespace Name Mixin selector named isSerializableLnet/minecraft/world/chunk/Chunk;isSerializable()Zintermediary method_65069Lnet/minecraft/class_2791;method_65069()Zofficial sLeed;s()Z
-
getTickSchedulers
- Mappings:
Namespace Name Mixin selector named getTickSchedulersLnet/minecraft/world/chunk/Chunk;getTickSchedulers(J)Lnet/minecraft/world/chunk/Chunk$TickSchedulers;intermediary method_39296Lnet/minecraft/class_2791;method_39296(J)Lnet/minecraft/class_2791$class_6745;official aLeed;a(J)Leed$b;
-
getUpgradeData
- Mappings:
Namespace Name Mixin selector named getUpgradeDataLnet/minecraft/world/chunk/Chunk;getUpgradeData()Lnet/minecraft/world/chunk/UpgradeData;intermediary method_12003Lnet/minecraft/class_2791;method_12003()Lnet/minecraft/class_2843;official tLeed;t()Lefa;
-
usesOldNoise
public boolean usesOldNoise()- Mappings:
Namespace Name Mixin selector named usesOldNoiseLnet/minecraft/world/chunk/Chunk;usesOldNoise()Zintermediary method_39297Lnet/minecraft/class_2791;method_39297()Zofficial uLeed;u()Z
-
getBlendingData
- Mappings:
Namespace Name Mixin selector named getBlendingDataLnet/minecraft/world/chunk/Chunk;getBlendingData()Lnet/minecraft/world/gen/chunk/BlendingData;intermediary method_39299Lnet/minecraft/class_2791;method_39299()Lnet/minecraft/class_6749;official vLeed;v()Leji;
-
getInhabitedTime
public long getInhabitedTime()- Mappings:
Namespace Name Mixin selector named getInhabitedTimeLnet/minecraft/world/chunk/Chunk;getInhabitedTime()Jintermediary method_12033Lnet/minecraft/class_2791;method_12033()Jofficial wLeed;w()J
-
increaseInhabitedTime
public void increaseInhabitedTime(long timeDelta) - Mappings:
Namespace Name Mixin selector named increaseInhabitedTimeLnet/minecraft/world/chunk/Chunk;increaseInhabitedTime(J)Vintermediary method_38870Lnet/minecraft/class_2791;method_38870(J)Vofficial bLeed;b(J)V
-
setInhabitedTime
public void setInhabitedTime(long inhabitedTime) - Mappings:
Namespace Name Mixin selector named setInhabitedTimeLnet/minecraft/world/chunk/Chunk;setInhabitedTime(J)Vintermediary method_12028Lnet/minecraft/class_2791;method_12028(J)Vofficial cLeed;c(J)V
-
getList
- Mappings:
Namespace Name Mixin selector named getListLnet/minecraft/world/chunk/Chunk;getList([Lit/unimi/dsi/fastutil/shorts/ShortList;I)Lit/unimi/dsi/fastutil/shorts/ShortList;intermediary method_12026Lnet/minecraft/class_2791;method_12026([Lit/unimi/dsi/fastutil/shorts/ShortList;I)Lit/unimi/dsi/fastutil/shorts/ShortList;official aLeed;a([Lit/unimi/dsi/fastutil/shorts/ShortList;I)Lit/unimi/dsi/fastutil/shorts/ShortList;
-
isLightOn
public boolean isLightOn()- Mappings:
Namespace Name Mixin selector named isLightOnLnet/minecraft/world/chunk/Chunk;isLightOn()Zintermediary method_12038Lnet/minecraft/class_2791;method_12038()Zofficial xLeed;x()Z
-
setLightOn
public void setLightOn(boolean lightOn) - Mappings:
Namespace Name Mixin selector named setLightOnLnet/minecraft/world/chunk/Chunk;setLightOn(Z)Vintermediary method_12020Lnet/minecraft/class_2791;method_12020(Z)Vofficial aLeed;a(Z)V
-
getBottomY
public int getBottomY()Returns the bottom Y level, or height, inclusive, of this view.- Specified by:
getBottomYin interfaceHeightLimitView- See Also:
- Mappings:
Namespace Name Mixin selector named getBottomYLnet/minecraft/world/HeightLimitView;getBottomY()Iintermediary method_31607Lnet/minecraft/class_5539;method_31607()Iofficial J_Ldlb;J_()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:
getHeightin interfaceHeightLimitView- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
Namespace Name Mixin selector named getHeightLnet/minecraft/world/HeightLimitView;getHeight()Iintermediary method_31605Lnet/minecraft/class_5539;method_31605()Iofficial K_Ldlb;K_()I
-
getOrCreateChunkNoiseSampler
public ChunkNoiseSampler getOrCreateChunkNoiseSampler(Function<Chunk, ChunkNoiseSampler> chunkNoiseSamplerCreator) - Mappings:
Namespace Name Mixin selector named getOrCreateChunkNoiseSamplerLnet/minecraft/world/chunk/Chunk;getOrCreateChunkNoiseSampler(Ljava/util/function/Function;)Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;intermediary method_38255Lnet/minecraft/class_2791;method_38255(Ljava/util/function/Function;)Lnet/minecraft/class_6568;official aLeed;a(Ljava/util/function/Function;)Leij;
-
getOrCreateGenerationSettings
@Deprecated public GenerationSettings getOrCreateGenerationSettings(Supplier<GenerationSettings> generationSettingsCreator) Deprecated.- Mappings:
Namespace Name Mixin selector named getOrCreateGenerationSettingsLnet/minecraft/world/chunk/Chunk;getOrCreateGenerationSettings(Ljava/util/function/Supplier;)Lnet/minecraft/world/biome/GenerationSettings;intermediary method_44214Lnet/minecraft/class_2791;method_44214(Ljava/util/function/Supplier;)Lnet/minecraft/class_5485;official aLeed;a(Ljava/util/function/Supplier;)Ldmd;
-
getBiomeForNoiseGen
- Specified by:
getBiomeForNoiseGenin interfaceBiomeAccess.Storage- Mappings:
Namespace Name Mixin selector named getBiomeForNoiseGenLnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_16359Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_6880;official getNoiseBiomeLdme$a;getNoiseBiome(III)Lji;
-
populateBiomes
- Mappings:
Namespace Name Mixin selector named populateBiomesLnet/minecraft/world/chunk/Chunk;populateBiomes(Lnet/minecraft/world/biome/source/BiomeSupplier;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Vintermediary method_38257Lnet/minecraft/class_2791;method_38257(Lnet/minecraft/class_6780;Lnet/minecraft/class_6544$class_6552;)Vofficial aLeed;a(Ldmf;Ldml$f;)V
-
hasStructureReferences
public boolean hasStructureReferences()- Mappings:
Namespace Name Mixin selector named hasStructureReferencesLnet/minecraft/world/chunk/Chunk;hasStructureReferences()Zintermediary method_38871Lnet/minecraft/class_2791;method_38871()Zofficial yLeed;y()Z
-
getBelowZeroRetrogen
- Mappings:
Namespace Name Mixin selector named getBelowZeroRetrogenLnet/minecraft/world/chunk/Chunk;getBelowZeroRetrogen()Lnet/minecraft/world/chunk/BelowZeroRetrogen;intermediary method_39300Lnet/minecraft/class_2791;method_39300()Lnet/minecraft/class_6746;official zLeed;z()Leht;
-
hasBelowZeroRetrogen
public boolean hasBelowZeroRetrogen()- Mappings:
Namespace Name Mixin selector named hasBelowZeroRetrogenLnet/minecraft/world/chunk/Chunk;hasBelowZeroRetrogen()Zintermediary method_39461Lnet/minecraft/class_2791;method_39461()Zofficial ALeed;A()Z
-
getHeightLimitView
- Mappings:
Namespace Name Mixin selector named getHeightLimitViewLnet/minecraft/world/chunk/Chunk;getHeightLimitView()Lnet/minecraft/world/HeightLimitView;intermediary method_39460Lnet/minecraft/class_2791;method_39460()Lnet/minecraft/class_5539;official BLeed;B()Ldlb;
-
refreshSurfaceY
public void refreshSurfaceY()- Mappings:
Namespace Name Mixin selector named refreshSurfaceYLnet/minecraft/world/chunk/Chunk;refreshSurfaceY()Vintermediary method_51522Lnet/minecraft/class_2791;method_51522()Vofficial CLeed;C()V
-
getChunkSkyLight
- Specified by:
getChunkSkyLightin interfaceLightSourceView- Mappings:
Namespace Name Mixin selector named getChunkSkyLightLnet/minecraft/world/chunk/light/LightSourceView;getChunkSkyLight()Lnet/minecraft/world/chunk/light/ChunkSkyLight;intermediary method_12018Lnet/minecraft/class_8527;method_12018()Lnet/minecraft/class_8528;official DLeep;D()Leya;
-
method_71413
- Mappings:
Namespace Name Mixin selector named method_71413Lnet/minecraft/world/chunk/Chunk;method_71413(Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/util/ErrorReporter$Context;intermediary method_71413Lnet/minecraft/class_2791;method_71413(Lnet/minecraft/class_1923;)Lnet/minecraft/class_8942$class_11336;official aLeed;a(Ldke;)Lbao$f;
-
method_71412
- Mappings:
Namespace Name Mixin selector named method_71412Lnet/minecraft/world/chunk/Chunk;method_71412()Lnet/minecraft/util/ErrorReporter$Context;intermediary method_71412Lnet/minecraft/class_2791;method_71412()Lnet/minecraft/class_8942$class_11336;official ELeed;E()Lbao$f;
-