Package net.minecraft.world.chunk
Class Chunk
java.lang.Object
net.minecraft.world.chunk.Chunk
- All Implemented Interfaces:
BiomeAccess.Storage,BlockView,HeightLimitView,StructureHolder
- Direct Known Subclasses:
ProtoChunk,WorldChunk
public abstract class Chunk
extends Object
implements BlockView, BiomeAccess.Storage, StructureHolder
Represents a scoped, modifiable view of biomes, block states, fluid states and block entities.
- Mappings:
Namespace Name official cwmintermediary net/minecraft/class_2791named net/minecraft/world/chunk/Chunk
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable BlendingDataprotected final Map<BlockPos,BlockEntity> protected final Map<BlockPos,NbtCompound> protected @Nullable ChunkNoiseSamplerprivate static final LongSetprivate static final org.slf4j.Loggerprivate @Nullable GenerationSettingsDeprecated.protected final HeightLimitViewprotected final Map<Heightmap.Type,Heightmap> private longprivate booleanprotected booleanprotected final ChunkPosprotected final ShortList[]protected final ChunkSection[]private final Map<Structure,StructureStart> protected final UpgradeData -
Constructor Summary
ConstructorsConstructorDescriptionChunk(ChunkPos pos, UpgradeData upgradeData, HeightLimitView heightLimitView, Registry<Biome> biome, long inhabitedTime, @Nullable ChunkSection[] sectionArrayInitializer, @Nullable BlendingData blendingData) -
Method Summary
Modifier and TypeMethodDescriptionabstract voidvoidvoidaddStructureReference(Structure structure, long reference) booleanareSectionsEmptyBetween(int lowerHeight, int upperHeight) private static voidfillSectionArray(HeightLimitView world, Registry<Biome> biome, ChunkSection[] sectionArray) 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) intlongstatic ShortListgetOrCreateChunkNoiseSampler(Function<Chunk, ChunkNoiseSampler> chunkNoiseSamplerGetter) getOrCreateGenerationSettings(Supplier<GenerationSettings> generationSettingsSupplier) Deprecated.abstract @Nullable NbtCompoundgetPos()getSection(int yIndex) abstract ChunkStatusgetStructureReferences(Structure structure) getStructureStart(Structure structure) abstract Chunk.TickSchedulersbooleanbooleanhasHeightmap(Heightmap.Type type) booleanvoidincreaseInhabitedTime(long delta) booleanvoidmarkBlockForPostProcessing(short packedPos, int index) voidbooleanvoidpopulateBiomes(BiomeSupplier biomeSupplier, MultiNoiseUtil.MultiNoiseSampler sampler) abstract voidintsampleHeightmap(Heightmap.Type type, int x, int z) voidsetBlendingData(BlendingData blendingData) abstract voidsetBlockEntity(BlockEntity blockEntity) abstract @Nullable BlockStatesetBlockState(BlockPos pos, BlockState state, boolean moved) voidsetHeightmap(Heightmap.Type type, long[] heightmap) voidsetInhabitedTime(long inhabitedTime) voidsetLightOn(boolean lightOn) voidsetNeedsSaving(boolean needsSaving) voidsetStructureReferences(Map<Structure, LongSet> structureReferences) voidsetStructureStart(Structure structure, StructureStart start) voidsetStructureStarts(Map<Structure, StructureStart> structureStarts) booleanMethods 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, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Field Details
-
field_34548
private static final org.slf4j.Logger field_34548- Mappings:
Namespace Name Mixin selector official lLcwm;l:Lorg/slf4j/Logger;intermediary field_34548Lnet/minecraft/class_2791;field_34548:Lorg/slf4j/Logger;named field_34548Lnet/minecraft/world/chunk/Chunk;field_34548:Lorg/slf4j/Logger;
-
EMPTY_STRUCTURE_REFERENCES
- Mappings:
Namespace Name Mixin selector official mLcwm;m:Lit/unimi/dsi/fastutil/longs/LongSet;intermediary field_37052Lnet/minecraft/class_2791;field_37052:Lit/unimi/dsi/fastutil/longs/LongSet;named EMPTY_STRUCTURE_REFERENCESLnet/minecraft/world/chunk/Chunk;EMPTY_STRUCTURE_REFERENCES:Lit/unimi/dsi/fastutil/longs/LongSet;
-
postProcessingLists
- Mappings:
Namespace Name Mixin selector official aLcwm;a:[Lit/unimi/dsi/fastutil/shorts/ShortList;intermediary field_34536Lnet/minecraft/class_2791;field_34536:[Lit/unimi/dsi/fastutil/shorts/ShortList;named postProcessingListsLnet/minecraft/world/chunk/Chunk;postProcessingLists:[Lit/unimi/dsi/fastutil/shorts/ShortList;
-
needsSaving
protected volatile boolean needsSaving- Mappings:
Namespace Name Mixin selector official bLcwm;b:Zintermediary field_34537Lnet/minecraft/class_2791;field_34537:Znamed needsSavingLnet/minecraft/world/chunk/Chunk;needsSaving:Z
-
lightOn
private volatile boolean lightOn- Mappings:
Namespace Name Mixin selector official nLcwm;n:Zintermediary field_34549Lnet/minecraft/class_2791;field_34549:Znamed lightOnLnet/minecraft/world/chunk/Chunk;lightOn:Z
-
pos
- Mappings:
Namespace Name Mixin selector official cLcwm;c:Lcfh;intermediary field_34538Lnet/minecraft/class_2791;field_34538:Lnet/minecraft/class_1923;named posLnet/minecraft/world/chunk/Chunk;pos:Lnet/minecraft/util/math/ChunkPos;
-
inhabitedTime
private long inhabitedTime- Mappings:
Namespace Name Mixin selector official oLcwm;o:Jintermediary field_34550Lnet/minecraft/class_2791;field_34550:Jnamed inhabitedTimeLnet/minecraft/world/chunk/Chunk;inhabitedTime:J
-
generationSettings
Deprecated.- Mappings:
Namespace Name Mixin selector official pLcwm;p:Lcgx;intermediary field_39411Lnet/minecraft/class_2791;field_39411:Lnet/minecraft/class_5485;named generationSettingsLnet/minecraft/world/chunk/Chunk;generationSettings:Lnet/minecraft/world/biome/GenerationSettings;
-
chunkNoiseSampler
- Mappings:
Namespace Name Mixin selector official dLcwm;d:Lczy;intermediary field_34539Lnet/minecraft/class_2791;field_34539:Lnet/minecraft/class_6568;named chunkNoiseSamplerLnet/minecraft/world/chunk/Chunk;chunkNoiseSampler:Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
-
upgradeData
- Mappings:
Namespace Name Mixin selector official eLcwm;e:Lcxi;intermediary field_34540Lnet/minecraft/class_2791;field_34540:Lnet/minecraft/class_2843;named upgradeDataLnet/minecraft/world/chunk/Chunk;upgradeData:Lnet/minecraft/world/chunk/UpgradeData;
-
blendingData
- Mappings:
Namespace Name Mixin selector official fLcwm;f:Ldav;intermediary field_35468Lnet/minecraft/class_2791;field_35468:Lnet/minecraft/class_6749;named blendingDataLnet/minecraft/world/chunk/Chunk;blendingData:Lnet/minecraft/world/gen/chunk/BlendingData;
-
heightmaps
- Mappings:
Namespace Name Mixin selector official gLcwm;g:Ljava/util/Map;intermediary field_34541Lnet/minecraft/class_2791;field_34541:Ljava/util/Map;named heightmapsLnet/minecraft/world/chunk/Chunk;heightmaps:Ljava/util/Map;
-
structureStarts
- Mappings:
Namespace Name Mixin selector official qLcwm;q:Ljava/util/Map;intermediary field_34552Lnet/minecraft/class_2791;field_34552:Ljava/util/Map;named structureStartsLnet/minecraft/world/chunk/Chunk;structureStarts:Ljava/util/Map;
-
structureReferences
- Mappings:
Namespace Name Mixin selector official rLcwm;r:Ljava/util/Map;intermediary field_34553Lnet/minecraft/class_2791;field_34553:Ljava/util/Map;named structureReferencesLnet/minecraft/world/chunk/Chunk;structureReferences:Ljava/util/Map;
-
blockEntityNbts
- Mappings:
Namespace Name Mixin selector official hLcwm;h:Ljava/util/Map;intermediary field_34542Lnet/minecraft/class_2791;field_34542:Ljava/util/Map;named blockEntityNbtsLnet/minecraft/world/chunk/Chunk;blockEntityNbts:Ljava/util/Map;
-
blockEntities
- Mappings:
Namespace Name Mixin selector official iLcwm;i:Ljava/util/Map;intermediary field_34543Lnet/minecraft/class_2791;field_34543:Ljava/util/Map;named blockEntitiesLnet/minecraft/world/chunk/Chunk;blockEntities:Ljava/util/Map;
-
heightLimitView
- Mappings:
Namespace Name Mixin selector official jLcwm;j:Lcgc;intermediary field_34544Lnet/minecraft/class_2791;field_34544:Lnet/minecraft/class_5539;named heightLimitViewLnet/minecraft/world/chunk/Chunk;heightLimitView:Lnet/minecraft/world/HeightLimitView;
-
sectionArray
- Mappings:
Namespace Name Mixin selector official kLcwm;k:[Lcwx;intermediary field_34545Lnet/minecraft/class_2791;field_34545:[Lnet/minecraft/class_2826;named sectionArrayLnet/minecraft/world/chunk/Chunk;sectionArray:[Lnet/minecraft/world/chunk/ChunkSection;
-
-
Constructor Details
-
Chunk
public Chunk(ChunkPos pos, UpgradeData upgradeData, HeightLimitView heightLimitView, Registry<Biome> biome, long inhabitedTime, @Nullable @Nullable ChunkSection[] sectionArrayInitializer, @Nullable @Nullable BlendingData blendingData) - Mappings:
Namespace Name Mixin selector official <init>Lcwm;<init>(Lcfh;Lcxi;Lcgc;Lhm;J[Lcwx;Ldav;)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;)Vnamed <init>Lnet/minecraft/world/chunk/Chunk;<init>(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/chunk/UpgradeData;Lnet/minecraft/world/HeightLimitView;Lnet/minecraft/util/registry/Registry;J[Lnet/minecraft/world/chunk/ChunkSection;Lnet/minecraft/world/gen/chunk/BlendingData;)V
-
-
Method Details
-
fillSectionArray
private static void fillSectionArray(HeightLimitView world, Registry<Biome> biome, ChunkSection[] sectionArray) - Mappings:
Namespace Name Mixin selector official aLcwm;a(Lcgc;Lhm;[Lcwx;)Vintermediary method_38256Lnet/minecraft/class_2791;method_38256(Lnet/minecraft/class_5539;Lnet/minecraft/class_2378;[Lnet/minecraft/class_2826;)Vnamed fillSectionArrayLnet/minecraft/world/chunk/Chunk;fillSectionArray(Lnet/minecraft/world/HeightLimitView;Lnet/minecraft/util/registry/Registry;[Lnet/minecraft/world/chunk/ChunkSection;)V
-
getGameEventDispatcher
- Mappings:
Namespace Name Mixin selector official aLcwm;a(I)Lcyz;intermediary method_32914Lnet/minecraft/class_2791;method_32914(I)Lnet/minecraft/class_5713;named getGameEventDispatcherLnet/minecraft/world/chunk/Chunk;getGameEventDispatcher(I)Lnet/minecraft/world/event/listener/GameEventDispatcher;
-
setBlockState
@Nullable public abstract @Nullable BlockState setBlockState(BlockPos pos, BlockState state, boolean moved) - Mappings:
Namespace Name Mixin selector official aLcwm;a(Lgt;Lcur;Z)Lcur;intermediary method_12010Lnet/minecraft/class_2791;method_12010(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680;named setBlockStateLnet/minecraft/world/chunk/Chunk;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;
-
setBlockEntity
- Mappings:
Namespace Name Mixin selector official aLcwm;a(Lcsl;)Vintermediary method_12007Lnet/minecraft/class_2791;method_12007(Lnet/minecraft/class_2586;)Vnamed setBlockEntityLnet/minecraft/world/chunk/Chunk;setBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
addEntity
- Mappings:
Namespace Name Mixin selector official aLcwm;a(Lbaq;)Vintermediary method_12002Lnet/minecraft/class_2791;method_12002(Lnet/minecraft/class_1297;)Vnamed addEntityLnet/minecraft/world/chunk/Chunk;addEntity(Lnet/minecraft/entity/Entity;)V
-
getHighestNonEmptySection
- Mappings:
Namespace Name Mixin selector official aLcwm;a()Lcwx;intermediary method_12040Lnet/minecraft/class_2791;method_12040()Lnet/minecraft/class_2826;named getHighestNonEmptySectionLnet/minecraft/world/chunk/Chunk;getHighestNonEmptySection()Lnet/minecraft/world/chunk/ChunkSection;
-
getHighestNonEmptySectionYOffset
public int getHighestNonEmptySectionYOffset()- Mappings:
Namespace Name Mixin selector official bLcwm;b()Iintermediary method_12031Lnet/minecraft/class_2791;method_12031()Inamed getHighestNonEmptySectionYOffsetLnet/minecraft/world/chunk/Chunk;getHighestNonEmptySectionYOffset()I
-
getBlockEntityPositions
- Mappings:
Namespace Name Mixin selector official cLcwm;c()Ljava/util/Set;intermediary method_12021Lnet/minecraft/class_2791;method_12021()Ljava/util/Set;named getBlockEntityPositionsLnet/minecraft/world/chunk/Chunk;getBlockEntityPositions()Ljava/util/Set;
-
getSectionArray
- Mappings:
Namespace Name Mixin selector official dLcwm;d()[Lcwx;intermediary method_12006Lnet/minecraft/class_2791;method_12006()[Lnet/minecraft/class_2826;named getSectionArrayLnet/minecraft/world/chunk/Chunk;getSectionArray()[Lnet/minecraft/world/chunk/ChunkSection;
-
getSection
- Mappings:
Namespace Name Mixin selector official bLcwm;b(I)Lcwx;intermediary method_38259Lnet/minecraft/class_2791;method_38259(I)Lnet/minecraft/class_2826;named getSectionLnet/minecraft/world/chunk/Chunk;getSection(I)Lnet/minecraft/world/chunk/ChunkSection;
-
getHeightmaps
- Mappings:
Namespace Name Mixin selector official eLcwm;e()Ljava/util/Collection;intermediary method_12011Lnet/minecraft/class_2791;method_12011()Ljava/util/Collection;named getHeightmapsLnet/minecraft/world/chunk/Chunk;getHeightmaps()Ljava/util/Collection;
-
setHeightmap
- Mappings:
Namespace Name Mixin selector official aLcwm;a(Lczu$a;[J)Vintermediary method_12037Lnet/minecraft/class_2791;method_12037(Lnet/minecraft/class_2902$class_2903;[J)Vnamed setHeightmapLnet/minecraft/world/chunk/Chunk;setHeightmap(Lnet/minecraft/world/Heightmap$Type;[J)V
-
getHeightmap
- Mappings:
Namespace Name Mixin selector official aLcwm;a(Lczu$a;)Lczu;intermediary method_12032Lnet/minecraft/class_2791;method_12032(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_2902;named getHeightmapLnet/minecraft/world/chunk/Chunk;getHeightmap(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/world/Heightmap;
-
hasHeightmap
- Mappings:
Namespace Name Mixin selector official bLcwm;b(Lczu$a;)Zintermediary method_39295Lnet/minecraft/class_2791;method_39295(Lnet/minecraft/class_2902$class_2903;)Znamed hasHeightmapLnet/minecraft/world/chunk/Chunk;hasHeightmap(Lnet/minecraft/world/Heightmap$Type;)Z
-
sampleHeightmap
- Mappings:
Namespace Name Mixin selector official aLcwm;a(Lczu$a;II)Iintermediary method_12005Lnet/minecraft/class_2791;method_12005(Lnet/minecraft/class_2902$class_2903;II)Inamed sampleHeightmapLnet/minecraft/world/chunk/Chunk;sampleHeightmap(Lnet/minecraft/world/Heightmap$Type;II)I
-
getPos
- Mappings:
Namespace Name Mixin selector official fLcwm;f()Lcfh;intermediary method_12004Lnet/minecraft/class_2791;method_12004()Lnet/minecraft/class_1923;named getPosLnet/minecraft/world/chunk/Chunk;getPos()Lnet/minecraft/util/math/ChunkPos;
-
getStructureStart
- Specified by:
getStructureStartin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector official aLcxh;a(Ldke;)Ldkm;intermediary method_12181Lnet/minecraft/class_2810;method_12181(Lnet/minecraft/class_3195;)Lnet/minecraft/class_3449;named getStructureStartLnet/minecraft/world/StructureHolder;getStructureStart(Lnet/minecraft/world/gen/structure/Structure;)Lnet/minecraft/structure/StructureStart;
-
setStructureStart
- Specified by:
setStructureStartin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector official aLcxh;a(Ldke;Ldkm;)Vintermediary method_12184Lnet/minecraft/class_2810;method_12184(Lnet/minecraft/class_3195;Lnet/minecraft/class_3449;)Vnamed setStructureStartLnet/minecraft/world/StructureHolder;setStructureStart(Lnet/minecraft/world/gen/structure/Structure;Lnet/minecraft/structure/StructureStart;)V
-
getStructureStarts
- Mappings:
Namespace Name Mixin selector official gLcwm;g()Ljava/util/Map;intermediary method_12016Lnet/minecraft/class_2791;method_12016()Ljava/util/Map;named getStructureStartsLnet/minecraft/world/chunk/Chunk;getStructureStarts()Ljava/util/Map;
-
setStructureStarts
- Mappings:
Namespace Name Mixin selector official aLcwm;a(Ljava/util/Map;)Vintermediary method_12034Lnet/minecraft/class_2791;method_12034(Ljava/util/Map;)Vnamed setStructureStartsLnet/minecraft/world/chunk/Chunk;setStructureStarts(Ljava/util/Map;)V
-
getStructureReferences
- Specified by:
getStructureReferencesin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector official bLcxh;b(Ldke;)Lit/unimi/dsi/fastutil/longs/LongSet;intermediary method_12180Lnet/minecraft/class_2810;method_12180(Lnet/minecraft/class_3195;)Lit/unimi/dsi/fastutil/longs/LongSet;named getStructureReferencesLnet/minecraft/world/StructureHolder;getStructureReferences(Lnet/minecraft/world/gen/structure/Structure;)Lit/unimi/dsi/fastutil/longs/LongSet;
-
addStructureReference
- Specified by:
addStructureReferencein interfaceStructureHolder- Mappings:
Namespace Name Mixin selector official aLcxh;a(Ldke;J)Vintermediary method_12182Lnet/minecraft/class_2810;method_12182(Lnet/minecraft/class_3195;J)Vnamed addStructureReferenceLnet/minecraft/world/StructureHolder;addStructureReference(Lnet/minecraft/world/gen/structure/Structure;J)V
-
getStructureReferences
- Specified by:
getStructureReferencesin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector official hLcxh;h()Ljava/util/Map;intermediary method_12179Lnet/minecraft/class_2810;method_12179()Ljava/util/Map;named getStructureReferencesLnet/minecraft/world/StructureHolder;getStructureReferences()Ljava/util/Map;
-
setStructureReferences
- Specified by:
setStructureReferencesin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector official bLcxh;b(Ljava/util/Map;)Vintermediary method_12183Lnet/minecraft/class_2810;method_12183(Ljava/util/Map;)Vnamed setStructureReferencesLnet/minecraft/world/StructureHolder;setStructureReferences(Ljava/util/Map;)V
-
areSectionsEmptyBetween
public boolean areSectionsEmptyBetween(int lowerHeight, int upperHeight) - Mappings:
Namespace Name Mixin selector official aLcwm;a(II)Zintermediary method_12228Lnet/minecraft/class_2791;method_12228(II)Znamed areSectionsEmptyBetweenLnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z
-
setNeedsSaving
public void setNeedsSaving(boolean needsSaving) - Mappings:
Namespace Name Mixin selector official aLcwm;a(Z)Vintermediary method_12008Lnet/minecraft/class_2791;method_12008(Z)Vnamed setNeedsSavingLnet/minecraft/world/chunk/Chunk;setNeedsSaving(Z)V
-
needsSaving
public boolean needsSaving()- Mappings:
Namespace Name Mixin selector official iLcwm;i()Zintermediary method_12044Lnet/minecraft/class_2791;method_12044()Znamed needsSavingLnet/minecraft/world/chunk/Chunk;needsSaving()Z
-
getStatus
- Mappings:
Namespace Name Mixin selector official jLcwm;j()Lcwq;intermediary method_12009Lnet/minecraft/class_2791;method_12009()Lnet/minecraft/class_2806;named getStatusLnet/minecraft/world/chunk/Chunk;getStatus()Lnet/minecraft/world/chunk/ChunkStatus;
-
removeBlockEntity
- Mappings:
Namespace Name Mixin selector official dLcwm;d(Lgt;)Vintermediary method_12041Lnet/minecraft/class_2791;method_12041(Lnet/minecraft/class_2338;)Vnamed removeBlockEntityLnet/minecraft/world/chunk/Chunk;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)V
-
markBlockForPostProcessing
- Mappings:
Namespace Name Mixin selector official eLcwm;e(Lgt;)Vintermediary method_12039Lnet/minecraft/class_2791;method_12039(Lnet/minecraft/class_2338;)Vnamed markBlockForPostProcessingLnet/minecraft/world/chunk/Chunk;markBlockForPostProcessing(Lnet/minecraft/util/math/BlockPos;)V
-
getPostProcessingLists
- Mappings:
Namespace Name Mixin selector official mLcwm;m()[Lit/unimi/dsi/fastutil/shorts/ShortList;intermediary method_12012Lnet/minecraft/class_2791;method_12012()[Lit/unimi/dsi/fastutil/shorts/ShortList;named getPostProcessingListsLnet/minecraft/world/chunk/Chunk;getPostProcessingLists()[Lit/unimi/dsi/fastutil/shorts/ShortList;
-
markBlockForPostProcessing
public void markBlockForPostProcessing(short packedPos, int index) - Mappings:
Namespace Name Mixin selector official aLcwm;a(SI)Vintermediary method_12029Lnet/minecraft/class_2791;method_12029(SI)Vnamed markBlockForPostProcessingLnet/minecraft/world/chunk/Chunk;markBlockForPostProcessing(SI)V
-
addPendingBlockEntityNbt
- Mappings:
Namespace Name Mixin selector official aLcwm;a(Lpj;)Vintermediary method_12042Lnet/minecraft/class_2791;method_12042(Lnet/minecraft/class_2487;)Vnamed addPendingBlockEntityNbtLnet/minecraft/world/chunk/Chunk;addPendingBlockEntityNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getBlockEntityNbt
- Mappings:
Namespace Name Mixin selector official fLcwm;f(Lgt;)Lpj;intermediary method_12024Lnet/minecraft/class_2791;method_12024(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;named getBlockEntityNbtLnet/minecraft/world/chunk/Chunk;getBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/NbtCompound;
-
getPackedBlockEntityNbt
- Mappings:
Namespace Name Mixin selector official gLcwm;g(Lgt;)Lpj;intermediary method_20598Lnet/minecraft/class_2791;method_20598(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;named getPackedBlockEntityNbtLnet/minecraft/world/chunk/Chunk;getPackedBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/NbtCompound;
-
getLightSourcesStream
- Mappings:
Namespace Name Mixin selector official nLcwm;n()Ljava/util/stream/Stream;intermediary method_12018Lnet/minecraft/class_2791;method_12018()Ljava/util/stream/Stream;named getLightSourcesStreamLnet/minecraft/world/chunk/Chunk;getLightSourcesStream()Ljava/util/stream/Stream;
-
getBlockTickScheduler
- Mappings:
Namespace Name Mixin selector official oLcwm;o()Ldxg;intermediary method_12013Lnet/minecraft/class_2791;method_12013()Lnet/minecraft/class_6763;named getBlockTickSchedulerLnet/minecraft/world/chunk/Chunk;getBlockTickScheduler()Lnet/minecraft/world/tick/BasicTickScheduler;
-
getFluidTickScheduler
- Mappings:
Namespace Name Mixin selector official pLcwm;p()Ldxg;intermediary method_12014Lnet/minecraft/class_2791;method_12014()Lnet/minecraft/class_6763;named getFluidTickSchedulerLnet/minecraft/world/chunk/Chunk;getFluidTickScheduler()Lnet/minecraft/world/tick/BasicTickScheduler;
-
getTickSchedulers
- Mappings:
Namespace Name Mixin selector official qLcwm;q()Lcwm$a;intermediary method_39296Lnet/minecraft/class_2791;method_39296()Lnet/minecraft/class_2791$class_6745;named getTickSchedulersLnet/minecraft/world/chunk/Chunk;getTickSchedulers()Lnet/minecraft/world/chunk/Chunk$TickSchedulers;
-
getUpgradeData
- Mappings:
Namespace Name Mixin selector official rLcwm;r()Lcxi;intermediary method_12003Lnet/minecraft/class_2791;method_12003()Lnet/minecraft/class_2843;named getUpgradeDataLnet/minecraft/world/chunk/Chunk;getUpgradeData()Lnet/minecraft/world/chunk/UpgradeData;
-
usesOldNoise
public boolean usesOldNoise()- Mappings:
Namespace Name Mixin selector official sLcwm;s()Zintermediary method_39297Lnet/minecraft/class_2791;method_39297()Znamed usesOldNoiseLnet/minecraft/world/chunk/Chunk;usesOldNoise()Z
-
getBlendingData
- Mappings:
Namespace Name Mixin selector official tLcwm;t()Ldav;intermediary method_39299Lnet/minecraft/class_2791;method_39299()Lnet/minecraft/class_6749;named getBlendingDataLnet/minecraft/world/chunk/Chunk;getBlendingData()Lnet/minecraft/world/gen/chunk/BlendingData;
-
setBlendingData
- Mappings:
Namespace Name Mixin selector official aLcwm;a(Ldav;)Vintermediary method_39294Lnet/minecraft/class_2791;method_39294(Lnet/minecraft/class_6749;)Vnamed setBlendingDataLnet/minecraft/world/chunk/Chunk;setBlendingData(Lnet/minecraft/world/gen/chunk/BlendingData;)V
-
getInhabitedTime
public long getInhabitedTime()- Mappings:
Namespace Name Mixin selector official uLcwm;u()Jintermediary method_12033Lnet/minecraft/class_2791;method_12033()Jnamed getInhabitedTimeLnet/minecraft/world/chunk/Chunk;getInhabitedTime()J
-
increaseInhabitedTime
public void increaseInhabitedTime(long delta) - Mappings:
Namespace Name Mixin selector official aLcwm;a(J)Vintermediary method_38870Lnet/minecraft/class_2791;method_38870(J)Vnamed increaseInhabitedTimeLnet/minecraft/world/chunk/Chunk;increaseInhabitedTime(J)V
-
setInhabitedTime
public void setInhabitedTime(long inhabitedTime) - Mappings:
Namespace Name Mixin selector official bLcwm;b(J)Vintermediary method_12028Lnet/minecraft/class_2791;method_12028(J)Vnamed setInhabitedTimeLnet/minecraft/world/chunk/Chunk;setInhabitedTime(J)V
-
getList
- Mappings:
Namespace Name Mixin selector official aLcwm;a([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;named getListLnet/minecraft/world/chunk/Chunk;getList([Lit/unimi/dsi/fastutil/shorts/ShortList;I)Lit/unimi/dsi/fastutil/shorts/ShortList;
-
isLightOn
public boolean isLightOn()- Mappings:
Namespace Name Mixin selector official vLcwm;v()Zintermediary method_12038Lnet/minecraft/class_2791;method_12038()Znamed isLightOnLnet/minecraft/world/chunk/Chunk;isLightOn()Z
-
setLightOn
public void setLightOn(boolean lightOn) - Mappings:
Namespace Name Mixin selector official bLcwm;b(Z)Vintermediary method_12020Lnet/minecraft/class_2791;method_12020(Z)Vnamed setLightOnLnet/minecraft/world/chunk/Chunk;setLightOn(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 official u_Lcgc;u_()Iintermediary method_31607Lnet/minecraft/class_5539;method_31607()Inamed getBottomYLnet/minecraft/world/HeightLimitView;getBottomY()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 official v_Lcgc;v_()Iintermediary method_31605Lnet/minecraft/class_5539;method_31605()Inamed getHeightLnet/minecraft/world/HeightLimitView;getHeight()I
-
getOrCreateChunkNoiseSampler
public ChunkNoiseSampler getOrCreateChunkNoiseSampler(Function<Chunk, ChunkNoiseSampler> chunkNoiseSamplerGetter) - Mappings:
Namespace Name Mixin selector official aLcwm;a(Ljava/util/function/Function;)Lczy;intermediary method_38255Lnet/minecraft/class_2791;method_38255(Ljava/util/function/Function;)Lnet/minecraft/class_6568;named getOrCreateChunkNoiseSamplerLnet/minecraft/world/chunk/Chunk;getOrCreateChunkNoiseSampler(Ljava/util/function/Function;)Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
-
getOrCreateGenerationSettings
@Deprecated public GenerationSettings getOrCreateGenerationSettings(Supplier<GenerationSettings> generationSettingsSupplier) Deprecated.- Mappings:
Namespace Name Mixin selector official aLcwm;a(Ljava/util/function/Supplier;)Lcgx;intermediary method_44214Lnet/minecraft/class_2791;method_44214(Ljava/util/function/Supplier;)Lnet/minecraft/class_5485;named getOrCreateGenerationSettingsLnet/minecraft/world/chunk/Chunk;getOrCreateGenerationSettings(Ljava/util/function/Supplier;)Lnet/minecraft/world/biome/GenerationSettings;
-
getBiomeForNoiseGen
- Specified by:
getBiomeForNoiseGenin interfaceBiomeAccess.Storage- Mappings:
Namespace Name Mixin selector official getNoiseBiomeLcgy$a;getNoiseBiome(III)Lhc;intermediary method_16359Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_6880;named getBiomeForNoiseGenLnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/util/registry/RegistryEntry;
-
populateBiomes
- Mappings:
Namespace Name Mixin selector official aLcwm;a(Lcgz;Lchf$f;)Vintermediary method_38257Lnet/minecraft/class_2791;method_38257(Lnet/minecraft/class_6780;Lnet/minecraft/class_6544$class_6552;)Vnamed populateBiomesLnet/minecraft/world/chunk/Chunk;populateBiomes(Lnet/minecraft/world/biome/source/BiomeSupplier;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)V
-
hasStructureReferences
public boolean hasStructureReferences()- Mappings:
Namespace Name Mixin selector official wLcwm;w()Zintermediary method_38871Lnet/minecraft/class_2791;method_38871()Znamed hasStructureReferencesLnet/minecraft/world/chunk/Chunk;hasStructureReferences()Z
-
getBelowZeroRetrogen
- Mappings:
Namespace Name Mixin selector official xLcwm;x()Lczi;intermediary method_39300Lnet/minecraft/class_2791;method_39300()Lnet/minecraft/class_6746;named getBelowZeroRetrogenLnet/minecraft/world/chunk/Chunk;getBelowZeroRetrogen()Lnet/minecraft/world/chunk/BelowZeroRetrogen;
-
hasBelowZeroRetrogen
public boolean hasBelowZeroRetrogen()- Mappings:
Namespace Name Mixin selector official yLcwm;y()Zintermediary method_39461Lnet/minecraft/class_2791;method_39461()Znamed hasBelowZeroRetrogenLnet/minecraft/world/chunk/Chunk;hasBelowZeroRetrogen()Z
-
getHeightLimitView
- Mappings:
Namespace Name Mixin selector official zLcwm;z()Lcgc;intermediary method_39460Lnet/minecraft/class_2791;method_39460()Lnet/minecraft/class_5539;named getHeightLimitViewLnet/minecraft/world/chunk/Chunk;getHeightLimitView()Lnet/minecraft/world/HeightLimitView;
-