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 cpy
intermediary net/minecraft/class_2791
named net/minecraft/world/chunk/Chunk
  • Field Details

    • field_34548

      private static final Logger field_34548
      Mappings:
      Namespace Name Mixin selector
      official l Lcpy;l:Lorg/apache/logging/log4j/Logger;
      intermediary field_34548 Lnet/minecraft/class_2791;field_34548:Lorg/apache/logging/log4j/Logger;
      named field_34548 Lnet/minecraft/world/chunk/Chunk;field_34548:Lorg/apache/logging/log4j/Logger;
    • postProcessingLists

      protected final ShortList[] postProcessingLists
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a:[Lit/unimi/dsi/fastutil/shorts/ShortList;
      intermediary field_34536 Lnet/minecraft/class_2791;field_34536:[Lit/unimi/dsi/fastutil/shorts/ShortList;
      named postProcessingLists Lnet/minecraft/world/chunk/Chunk;postProcessingLists:[Lit/unimi/dsi/fastutil/shorts/ShortList;
    • needsSaving

      protected volatile boolean needsSaving
      Mappings:
      Namespace Name Mixin selector
      official b Lcpy;b:Z
      intermediary field_34537 Lnet/minecraft/class_2791;field_34537:Z
      named needsSaving Lnet/minecraft/world/chunk/Chunk;needsSaving:Z
    • lightOn

      private volatile boolean lightOn
      Mappings:
      Namespace Name Mixin selector
      official m Lcpy;m:Z
      intermediary field_34549 Lnet/minecraft/class_2791;field_34549:Z
      named lightOn Lnet/minecraft/world/chunk/Chunk;lightOn:Z
    • pos

      protected final ChunkPos pos
      Mappings:
      Namespace Name Mixin selector
      official c Lcpy;c:Lbzk;
      intermediary field_34538 Lnet/minecraft/class_2791;field_34538:Lnet/minecraft/class_1923;
      named pos Lnet/minecraft/world/chunk/Chunk;pos:Lnet/minecraft/util/math/ChunkPos;
    • inhabitedTime

      private long inhabitedTime
      Mappings:
      Namespace Name Mixin selector
      official n Lcpy;n:J
      intermediary field_34550 Lnet/minecraft/class_2791;field_34550:J
      named inhabitedTime Lnet/minecraft/world/chunk/Chunk;inhabitedTime:J
    • biome

      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official o Lcpy;o:Lcaz;
      intermediary field_34551 Lnet/minecraft/class_2791;field_34551:Lnet/minecraft/class_1959;
      named biome Lnet/minecraft/world/chunk/Chunk;biome:Lnet/minecraft/world/biome/Biome;
    • chunkNoiseSampler

      @Nullable protected @Nullable ChunkNoiseSampler chunkNoiseSampler
      Mappings:
      Namespace Name Mixin selector
      official d Lcpy;d:Lctg;
      intermediary field_34539 Lnet/minecraft/class_2791;field_34539:Lnet/minecraft/class_6568;
      named chunkNoiseSampler Lnet/minecraft/world/chunk/Chunk;chunkNoiseSampler:Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
    • upgradeData

      protected final UpgradeData upgradeData
      Mappings:
      Namespace Name Mixin selector
      official e Lcpy;e:Lcqs;
      intermediary field_34540 Lnet/minecraft/class_2791;field_34540:Lnet/minecraft/class_2843;
      named upgradeData Lnet/minecraft/world/chunk/Chunk;upgradeData:Lnet/minecraft/world/chunk/UpgradeData;
    • blendingData

      @Nullable protected @Nullable BlendingData blendingData
      Mappings:
      Namespace Name Mixin selector
      official f Lcpy;f:Lcue;
      intermediary field_35468 Lnet/minecraft/class_2791;field_35468:Lnet/minecraft/class_6749;
      named blendingData Lnet/minecraft/world/chunk/Chunk;blendingData:Lnet/minecraft/world/gen/chunk/BlendingData;
    • heightmaps

      protected final Map<Heightmap.Type,Heightmap> heightmaps
      Mappings:
      Namespace Name Mixin selector
      official g Lcpy;g:Ljava/util/Map;
      intermediary field_34541 Lnet/minecraft/class_2791;field_34541:Ljava/util/Map;
      named heightmaps Lnet/minecraft/world/chunk/Chunk;heightmaps:Ljava/util/Map;
    • structureStarts

      private final Map<StructureFeature<?>,StructureStart<?>> structureStarts
      Mappings:
      Namespace Name Mixin selector
      official p Lcpy;p:Ljava/util/Map;
      intermediary field_34552 Lnet/minecraft/class_2791;field_34552:Ljava/util/Map;
      named structureStarts Lnet/minecraft/world/chunk/Chunk;structureStarts:Ljava/util/Map;
    • structureReferences

      private final Map<StructureFeature<?>,LongSet> structureReferences
      Mappings:
      Namespace Name Mixin selector
      official q Lcpy;q:Ljava/util/Map;
      intermediary field_34553 Lnet/minecraft/class_2791;field_34553:Ljava/util/Map;
      named structureReferences Lnet/minecraft/world/chunk/Chunk;structureReferences:Ljava/util/Map;
    • blockEntityNbts

      protected final Map<BlockPos,NbtCompound> blockEntityNbts
      Mappings:
      Namespace Name Mixin selector
      official h Lcpy;h:Ljava/util/Map;
      intermediary field_34542 Lnet/minecraft/class_2791;field_34542:Ljava/util/Map;
      named blockEntityNbts Lnet/minecraft/world/chunk/Chunk;blockEntityNbts:Ljava/util/Map;
    • blockEntities

      protected final Map<BlockPos,BlockEntity> blockEntities
      Mappings:
      Namespace Name Mixin selector
      official i Lcpy;i:Ljava/util/Map;
      intermediary field_34543 Lnet/minecraft/class_2791;field_34543:Ljava/util/Map;
      named blockEntities Lnet/minecraft/world/chunk/Chunk;blockEntities:Ljava/util/Map;
    • heightLimitView

      protected final HeightLimitView heightLimitView
      Mappings:
      Namespace Name Mixin selector
      official j Lcpy;j:Lcaf;
      intermediary field_34544 Lnet/minecraft/class_2791;field_34544:Lnet/minecraft/class_5539;
      named heightLimitView Lnet/minecraft/world/chunk/Chunk;heightLimitView:Lnet/minecraft/world/HeightLimitView;
    • sectionArray

      protected final ChunkSection[] sectionArray
      Mappings:
      Namespace Name Mixin selector
      official k Lcpy;k:[Lcqj;
      intermediary field_34545 Lnet/minecraft/class_2791;field_34545:[Lnet/minecraft/class_2826;
      named sectionArray Lnet/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> Lcpy;<init>(Lbzk;Lcqs;Lcaf;Lgx;J[Lcqj;Lcue;)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
      named <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 a Lcpy;a(Lcaf;Lgx;[Lcqj;)V
      intermediary method_38256 Lnet/minecraft/class_2791;method_38256(Lnet/minecraft/class_5539;Lnet/minecraft/class_2378;[Lnet/minecraft/class_2826;)V
      named fillSectionArray Lnet/minecraft/world/chunk/Chunk;fillSectionArray(Lnet/minecraft/world/HeightLimitView;Lnet/minecraft/util/registry/Registry;[Lnet/minecraft/world/chunk/ChunkSection;)V
    • getGameEventDispatcher

      public GameEventDispatcher getGameEventDispatcher(int ySectionCoord)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(I)Lcsh;
      intermediary method_32914 Lnet/minecraft/class_2791;method_32914(I)Lnet/minecraft/class_5713;
      named getGameEventDispatcher Lnet/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 a Lcpy;a(Lgh;Lcoc;Z)Lcoc;
      intermediary method_12010 Lnet/minecraft/class_2791;method_12010(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680;
      named setBlockState Lnet/minecraft/world/chunk/Chunk;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;
    • setBlockEntity

      public abstract void setBlockEntity(BlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(Lclz;)V
      intermediary method_12007 Lnet/minecraft/class_2791;method_12007(Lnet/minecraft/class_2586;)V
      named setBlockEntity Lnet/minecraft/world/chunk/Chunk;setBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
    • addEntity

      public abstract void addEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(Lawt;)V
      intermediary method_12002 Lnet/minecraft/class_2791;method_12002(Lnet/minecraft/class_1297;)V
      named addEntity Lnet/minecraft/world/chunk/Chunk;addEntity(Lnet/minecraft/entity/Entity;)V
    • getHighestNonEmptySection

      @Nullable public @Nullable ChunkSection getHighestNonEmptySection()
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a()Lcqj;
      intermediary method_12040 Lnet/minecraft/class_2791;method_12040()Lnet/minecraft/class_2826;
      named getHighestNonEmptySection Lnet/minecraft/world/chunk/Chunk;getHighestNonEmptySection()Lnet/minecraft/world/chunk/ChunkSection;
    • getHighestNonEmptySectionYOffset

      public int getHighestNonEmptySectionYOffset()
      Mappings:
      Namespace Name Mixin selector
      official b Lcpy;b()I
      intermediary method_12031 Lnet/minecraft/class_2791;method_12031()I
      named getHighestNonEmptySectionYOffset Lnet/minecraft/world/chunk/Chunk;getHighestNonEmptySectionYOffset()I
    • getBlockEntityPositions

      public Set<BlockPos> getBlockEntityPositions()
      Mappings:
      Namespace Name Mixin selector
      official c Lcpy;c()Ljava/util/Set;
      intermediary method_12021 Lnet/minecraft/class_2791;method_12021()Ljava/util/Set;
      named getBlockEntityPositions Lnet/minecraft/world/chunk/Chunk;getBlockEntityPositions()Ljava/util/Set;
    • getSectionArray

      public ChunkSection[] getSectionArray()
      Mappings:
      Namespace Name Mixin selector
      official d Lcpy;d()[Lcqj;
      intermediary method_12006 Lnet/minecraft/class_2791;method_12006()[Lnet/minecraft/class_2826;
      named getSectionArray Lnet/minecraft/world/chunk/Chunk;getSectionArray()[Lnet/minecraft/world/chunk/ChunkSection;
    • getSection

      public ChunkSection getSection(int yIndex)
      Mappings:
      Namespace Name Mixin selector
      official b Lcpy;b(I)Lcqj;
      intermediary method_38259 Lnet/minecraft/class_2791;method_38259(I)Lnet/minecraft/class_2826;
      named getSection Lnet/minecraft/world/chunk/Chunk;getSection(I)Lnet/minecraft/world/chunk/ChunkSection;
    • getHeightmaps

      public Collection<Map.Entry<Heightmap.Type,Heightmap>> getHeightmaps()
      Mappings:
      Namespace Name Mixin selector
      official e Lcpy;e()Ljava/util/Collection;
      intermediary method_12011 Lnet/minecraft/class_2791;method_12011()Ljava/util/Collection;
      named getHeightmaps Lnet/minecraft/world/chunk/Chunk;getHeightmaps()Ljava/util/Collection;
    • setHeightmap

      public void setHeightmap(Heightmap.Type type, long[] heightmap)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(Lctc$a;[J)V
      intermediary method_12037 Lnet/minecraft/class_2791;method_12037(Lnet/minecraft/class_2902$class_2903;[J)V
      named setHeightmap Lnet/minecraft/world/chunk/Chunk;setHeightmap(Lnet/minecraft/world/Heightmap$Type;[J)V
    • getHeightmap

      public Heightmap getHeightmap(Heightmap.Type type)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(Lctc$a;)Lctc;
      intermediary method_12032 Lnet/minecraft/class_2791;method_12032(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_2902;
      named getHeightmap Lnet/minecraft/world/chunk/Chunk;getHeightmap(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/world/Heightmap;
    • hasHeightmap

      public boolean hasHeightmap(Heightmap.Type type)
      Mappings:
      Namespace Name Mixin selector
      official b Lcpy;b(Lctc$a;)Z
      intermediary method_39295 Lnet/minecraft/class_2791;method_39295(Lnet/minecraft/class_2902$class_2903;)Z
      named hasHeightmap Lnet/minecraft/world/chunk/Chunk;hasHeightmap(Lnet/minecraft/world/Heightmap$Type;)Z
    • sampleHeightmap

      public int sampleHeightmap(Heightmap.Type type, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(Lctc$a;II)I
      intermediary method_12005 Lnet/minecraft/class_2791;method_12005(Lnet/minecraft/class_2902$class_2903;II)I
      named sampleHeightmap Lnet/minecraft/world/chunk/Chunk;sampleHeightmap(Lnet/minecraft/world/Heightmap$Type;II)I
    • getPos

      public ChunkPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official f Lcpy;f()Lbzk;
      intermediary method_12004 Lnet/minecraft/class_2791;method_12004()Lnet/minecraft/class_1923;
      named getPos Lnet/minecraft/world/chunk/Chunk;getPos()Lnet/minecraft/util/math/ChunkPos;
    • getStructureStart

      @Nullable public @Nullable StructureStart<?> getStructureStart(StructureFeature<?> structure)
      Specified by:
      getStructureStart in interface StructureHolder
      Mappings:
      Namespace Name Mixin selector
      official a Lcqe;a(Lcyi;)Ldfh;
      intermediary method_12181 Lnet/minecraft/class_2810;method_12181(Lnet/minecraft/class_3195;)Lnet/minecraft/class_3449;
      named getStructureStart Lnet/minecraft/world/StructureHolder;getStructureStart(Lnet/minecraft/world/gen/feature/StructureFeature;)Lnet/minecraft/structure/StructureStart;
    • setStructureStart

      public void setStructureStart(StructureFeature<?> structure, StructureStart<?> start)
      Specified by:
      setStructureStart in interface StructureHolder
      Mappings:
      Namespace Name Mixin selector
      official a Lcqe;a(Lcyi;Ldfh;)V
      intermediary method_12184 Lnet/minecraft/class_2810;method_12184(Lnet/minecraft/class_3195;Lnet/minecraft/class_3449;)V
      named setStructureStart Lnet/minecraft/world/StructureHolder;setStructureStart(Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/structure/StructureStart;)V
    • getStructureStarts

      public Map<StructureFeature<?>,StructureStart<?>> getStructureStarts()
      Mappings:
      Namespace Name Mixin selector
      official g Lcpy;g()Ljava/util/Map;
      intermediary method_12016 Lnet/minecraft/class_2791;method_12016()Ljava/util/Map;
      named getStructureStarts Lnet/minecraft/world/chunk/Chunk;getStructureStarts()Ljava/util/Map;
    • setStructureStarts

      public void setStructureStarts(Map<StructureFeature<?>,StructureStart<?>> structureStarts)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(Ljava/util/Map;)V
      intermediary method_12034 Lnet/minecraft/class_2791;method_12034(Ljava/util/Map;)V
      named setStructureStarts Lnet/minecraft/world/chunk/Chunk;setStructureStarts(Ljava/util/Map;)V
    • getStructureReferences

      public LongSet getStructureReferences(StructureFeature<?> structure)
      Specified by:
      getStructureReferences in interface StructureHolder
      Mappings:
      Namespace Name Mixin selector
      official b Lcqe;b(Lcyi;)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;
      named getStructureReferences Lnet/minecraft/world/StructureHolder;getStructureReferences(Lnet/minecraft/world/gen/feature/StructureFeature;)Lit/unimi/dsi/fastutil/longs/LongSet;
    • addStructureReference

      public void addStructureReference(StructureFeature<?> structure, long reference)
      Specified by:
      addStructureReference in interface StructureHolder
      Mappings:
      Namespace Name Mixin selector
      official a Lcqe;a(Lcyi;J)V
      intermediary method_12182 Lnet/minecraft/class_2810;method_12182(Lnet/minecraft/class_3195;J)V
      named addStructureReference Lnet/minecraft/world/StructureHolder;addStructureReference(Lnet/minecraft/world/gen/feature/StructureFeature;J)V
    • getStructureReferences

      public Map<StructureFeature<?>,LongSet> getStructureReferences()
      Specified by:
      getStructureReferences in interface StructureHolder
      Mappings:
      Namespace Name Mixin selector
      official h Lcqe;h()Ljava/util/Map;
      intermediary method_12179 Lnet/minecraft/class_2810;method_12179()Ljava/util/Map;
      named getStructureReferences Lnet/minecraft/world/StructureHolder;getStructureReferences()Ljava/util/Map;
    • setStructureReferences

      public void setStructureReferences(Map<StructureFeature<?>,LongSet> structureReferences)
      Specified by:
      setStructureReferences in interface StructureHolder
      Mappings:
      Namespace Name Mixin selector
      official b Lcqe;b(Ljava/util/Map;)V
      intermediary method_12183 Lnet/minecraft/class_2810;method_12183(Ljava/util/Map;)V
      named setStructureReferences Lnet/minecraft/world/StructureHolder;setStructureReferences(Ljava/util/Map;)V
    • areSectionsEmptyBetween

      public boolean areSectionsEmptyBetween(int lowerHeight, int upperHeight)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(II)Z
      intermediary method_12228 Lnet/minecraft/class_2791;method_12228(II)Z
      named areSectionsEmptyBetween Lnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z
    • setShouldSave

      public void setShouldSave(boolean shouldSave)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(Z)V
      intermediary method_12008 Lnet/minecraft/class_2791;method_12008(Z)V
      named setShouldSave Lnet/minecraft/world/chunk/Chunk;setShouldSave(Z)V
    • needsSaving

      public boolean needsSaving()
      Mappings:
      Namespace Name Mixin selector
      official i Lcpy;i()Z
      intermediary method_12044 Lnet/minecraft/class_2791;method_12044()Z
      named needsSaving Lnet/minecraft/world/chunk/Chunk;needsSaving()Z
    • getStatus

      public abstract ChunkStatus getStatus()
      Mappings:
      Namespace Name Mixin selector
      official j Lcpy;j()Lcqb;
      intermediary method_12009 Lnet/minecraft/class_2791;method_12009()Lnet/minecraft/class_2806;
      named getStatus Lnet/minecraft/world/chunk/Chunk;getStatus()Lnet/minecraft/world/chunk/ChunkStatus;
    • removeBlockEntity

      public abstract void removeBlockEntity(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Lcpy;d(Lgh;)V
      intermediary method_12041 Lnet/minecraft/class_2791;method_12041(Lnet/minecraft/class_2338;)V
      named removeBlockEntity Lnet/minecraft/world/chunk/Chunk;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)V
    • markBlockForPostProcessing

      public void markBlockForPostProcessing(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official e Lcpy;e(Lgh;)V
      intermediary method_12039 Lnet/minecraft/class_2791;method_12039(Lnet/minecraft/class_2338;)V
      named markBlockForPostProcessing Lnet/minecraft/world/chunk/Chunk;markBlockForPostProcessing(Lnet/minecraft/util/math/BlockPos;)V
    • getPostProcessingLists

      public ShortList[] getPostProcessingLists()
      Mappings:
      Namespace Name Mixin selector
      official m Lcpy;m()[Lit/unimi/dsi/fastutil/shorts/ShortList;
      intermediary method_12012 Lnet/minecraft/class_2791;method_12012()[Lit/unimi/dsi/fastutil/shorts/ShortList;
      named getPostProcessingLists Lnet/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 a Lcpy;a(SI)V
      intermediary method_12029 Lnet/minecraft/class_2791;method_12029(SI)V
      named markBlockForPostProcessing Lnet/minecraft/world/chunk/Chunk;markBlockForPostProcessing(SI)V
    • addPendingBlockEntityNbt

      public void addPendingBlockEntityNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(Loc;)V
      intermediary method_12042 Lnet/minecraft/class_2791;method_12042(Lnet/minecraft/class_2487;)V
      named addPendingBlockEntityNbt Lnet/minecraft/world/chunk/Chunk;addPendingBlockEntityNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • getBlockEntityNbt

      @Nullable public @Nullable NbtCompound getBlockEntityNbt(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official f Lcpy;f(Lgh;)Loc;
      intermediary method_12024 Lnet/minecraft/class_2791;method_12024(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;
      named getBlockEntityNbt Lnet/minecraft/world/chunk/Chunk;getBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/NbtCompound;
    • getPackedBlockEntityNbt

      @Nullable public abstract @Nullable NbtCompound getPackedBlockEntityNbt(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official i Lcpy;i(Lgh;)Loc;
      intermediary method_20598 Lnet/minecraft/class_2791;method_20598(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;
      named getPackedBlockEntityNbt Lnet/minecraft/world/chunk/Chunk;getPackedBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/NbtCompound;
    • getLightSourcesStream

      public abstract Stream<BlockPos> getLightSourcesStream()
      Mappings:
      Namespace Name Mixin selector
      official n Lcpy;n()Ljava/util/stream/Stream;
      intermediary method_12018 Lnet/minecraft/class_2791;method_12018()Ljava/util/stream/Stream;
      named getLightSourcesStream Lnet/minecraft/world/chunk/Chunk;getLightSourcesStream()Ljava/util/stream/Stream;
    • getBlockTickScheduler

      public abstract BasicTickScheduler<Block> getBlockTickScheduler()
      Mappings:
      Namespace Name Mixin selector
      official o Lcpy;o()Ldpz;
      intermediary method_12013 Lnet/minecraft/class_2791;method_12013()Lnet/minecraft/class_6763;
      named getBlockTickScheduler Lnet/minecraft/world/chunk/Chunk;getBlockTickScheduler()Lnet/minecraft/world/tick/BasicTickScheduler;
    • getFluidTickScheduler

      public abstract BasicTickScheduler<Fluid> getFluidTickScheduler()
      Mappings:
      Namespace Name Mixin selector
      official p Lcpy;p()Ldpz;
      intermediary method_12014 Lnet/minecraft/class_2791;method_12014()Lnet/minecraft/class_6763;
      named getFluidTickScheduler Lnet/minecraft/world/chunk/Chunk;getFluidTickScheduler()Lnet/minecraft/world/tick/BasicTickScheduler;
    • getTickSchedulers

      public abstract Chunk.TickSchedulers getTickSchedulers()
      Mappings:
      Namespace Name Mixin selector
      official q Lcpy;q()Lcpy$a;
      intermediary method_39296 Lnet/minecraft/class_2791;method_39296()Lnet/minecraft/class_2791$class_6745;
      named getTickSchedulers Lnet/minecraft/world/chunk/Chunk;getTickSchedulers()Lnet/minecraft/world/chunk/Chunk$TickSchedulers;
    • getUpgradeData

      public UpgradeData getUpgradeData()
      Mappings:
      Namespace Name Mixin selector
      official r Lcpy;r()Lcqs;
      intermediary method_12003 Lnet/minecraft/class_2791;method_12003()Lnet/minecraft/class_2843;
      named getUpgradeData Lnet/minecraft/world/chunk/Chunk;getUpgradeData()Lnet/minecraft/world/chunk/UpgradeData;
    • usesOldNoise

      public boolean usesOldNoise()
      Mappings:
      Namespace Name Mixin selector
      official s Lcpy;s()Z
      intermediary method_39297 Lnet/minecraft/class_2791;method_39297()Z
      named usesOldNoise Lnet/minecraft/world/chunk/Chunk;usesOldNoise()Z
    • getBlendingData

      @Nullable public @Nullable BlendingData getBlendingData()
      Mappings:
      Namespace Name Mixin selector
      official t Lcpy;t()Lcue;
      intermediary method_39299 Lnet/minecraft/class_2791;method_39299()Lnet/minecraft/class_6749;
      named getBlendingData Lnet/minecraft/world/chunk/Chunk;getBlendingData()Lnet/minecraft/world/gen/chunk/BlendingData;
    • setBlender

      public void setBlender(BlendingData blender)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(Lcue;)V
      intermediary method_39294 Lnet/minecraft/class_2791;method_39294(Lnet/minecraft/class_6749;)V
      named setBlender Lnet/minecraft/world/chunk/Chunk;setBlender(Lnet/minecraft/world/gen/chunk/BlendingData;)V
    • getInhabitedTime

      public long getInhabitedTime()
      Mappings:
      Namespace Name Mixin selector
      official u Lcpy;u()J
      intermediary method_12033 Lnet/minecraft/class_2791;method_12033()J
      named getInhabitedTime Lnet/minecraft/world/chunk/Chunk;getInhabitedTime()J
    • increaseInhabitedTime

      public void increaseInhabitedTime(long delta)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(J)V
      intermediary method_38870 Lnet/minecraft/class_2791;method_38870(J)V
      named increaseInhabitedTime Lnet/minecraft/world/chunk/Chunk;increaseInhabitedTime(J)V
    • setInhabitedTime

      public void setInhabitedTime(long inhabitedTime)
      Mappings:
      Namespace Name Mixin selector
      official b Lcpy;b(J)V
      intermediary method_12028 Lnet/minecraft/class_2791;method_12028(J)V
      named setInhabitedTime Lnet/minecraft/world/chunk/Chunk;setInhabitedTime(J)V
    • getList

      public static ShortList getList(ShortList[] lists, int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a([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;
      named getList Lnet/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 v Lcpy;v()Z
      intermediary method_12038 Lnet/minecraft/class_2791;method_12038()Z
      named isLightOn Lnet/minecraft/world/chunk/Chunk;isLightOn()Z
    • setLightOn

      public void setLightOn(boolean lightOn)
      Mappings:
      Namespace Name Mixin selector
      official b Lcpy;b(Z)V
      intermediary method_12020 Lnet/minecraft/class_2791;method_12020(Z)V
      named setLightOn Lnet/minecraft/world/chunk/Chunk;setLightOn(Z)V
    • getBottomY

      public int getBottomY()
      Returns the bottom Y level, or height, inclusive, of this view.
      Specified by:
      getBottomY in interface HeightLimitView
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official u_ Lcaf;u_()I
      intermediary method_31607 Lnet/minecraft/class_5539;method_31607()I
      named getBottomY Lnet/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:
      getHeight in interface HeightLimitView
      Returns:
      the difference in the minimum and maximum height
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official v_ Lcaf;v_()I
      intermediary method_31605 Lnet/minecraft/class_5539;method_31605()I
      named getHeight Lnet/minecraft/world/HeightLimitView;getHeight()I
    • getOrCreateChunkNoiseSampler

      public ChunkNoiseSampler getOrCreateChunkNoiseSampler(NoiseColumnSampler noiseColumnSampler, Supplier<ChunkNoiseSampler.ColumnSampler> columnSampler, ChunkGeneratorSettings chunkGeneratorSettings, AquiferSampler.FluidLevelSampler fluidLevelSampler, Blender blender)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(Lcti;Ljava/util/function/Supplier;Lcth;Lcsq$a;Lcud;)Lctg;
      intermediary method_38255 Lnet/minecraft/class_2791;method_38255(Lnet/minecraft/class_5818;Ljava/util/function/Supplier;Lnet/minecraft/class_5284;Lnet/minecraft/class_6350$class_6565;Lnet/minecraft/class_6748;)Lnet/minecraft/class_6568;
      named getOrCreateChunkNoiseSampler Lnet/minecraft/world/chunk/Chunk;getOrCreateChunkNoiseSampler(Lnet/minecraft/world/gen/NoiseColumnSampler;Ljava/util/function/Supplier;Lnet/minecraft/world/gen/chunk/ChunkGeneratorSettings;Lnet/minecraft/world/gen/chunk/AquiferSampler$FluidLevelSampler;Lnet/minecraft/world/gen/chunk/Blender;)Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;
    • setBiomeIfAbsent

      @Deprecated public Biome setBiomeIfAbsent(Supplier<Biome> biomeSupplier)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(Ljava/util/function/Supplier;)Lcaz;
      intermediary method_38258 Lnet/minecraft/class_2791;method_38258(Ljava/util/function/Supplier;)Lnet/minecraft/class_1959;
      named setBiomeIfAbsent Lnet/minecraft/world/chunk/Chunk;setBiomeIfAbsent(Ljava/util/function/Supplier;)Lnet/minecraft/world/biome/Biome;
    • getBiomeForNoiseGen

      public Biome getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)
      Specified by:
      getBiomeForNoiseGen in interface BiomeAccess.Storage
      Mappings:
      Namespace Name Mixin selector
      official getNoiseBiome Lcbb$a;getNoiseBiome(III)Lcaz;
      intermediary method_16359 Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_1959;
      named getBiomeForNoiseGen Lnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/world/biome/Biome;
    • populateBiomes

      public void populateBiomes(BiomeSupplier biomeSupplier, MultiNoiseUtil.MultiNoiseSampler sampler)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpy;a(Lcbc;Lcbh$f;)V
      intermediary method_38257 Lnet/minecraft/class_2791;method_38257(Lnet/minecraft/class_6780;Lnet/minecraft/class_6544$class_6552;)V
      named populateBiomes Lnet/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 w Lcpy;w()Z
      intermediary method_38871 Lnet/minecraft/class_2791;method_38871()Z
      named hasStructureReferences Lnet/minecraft/world/chunk/Chunk;hasStructureReferences()Z
    • getBelowZeroRetrogen

      @Nullable public @Nullable BelowZeroRetrogen getBelowZeroRetrogen()
      Mappings:
      Namespace Name Mixin selector
      official x Lcpy;x()Lcss;
      intermediary method_39300 Lnet/minecraft/class_2791;method_39300()Lnet/minecraft/class_6746;
      named getBelowZeroRetrogen Lnet/minecraft/world/chunk/Chunk;getBelowZeroRetrogen()Lnet/minecraft/world/chunk/BelowZeroRetrogen;
    • hasBelowZeroRetrogen

      public boolean hasBelowZeroRetrogen()
      Mappings:
      Namespace Name Mixin selector
      official y Lcpy;y()Z
      intermediary method_39461 Lnet/minecraft/class_2791;method_39461()Z
      named hasBelowZeroRetrogen Lnet/minecraft/world/chunk/Chunk;hasBelowZeroRetrogen()Z
    • getHeightLimitView

      public HeightLimitView getHeightLimitView()
      Mappings:
      Namespace Name Mixin selector
      official z Lcpy;z()Lcaf;
      intermediary method_39460 Lnet/minecraft/class_2791;method_39460()Lnet/minecraft/class_5539;
      named getHeightLimitView Lnet/minecraft/world/chunk/Chunk;getHeightLimitView()Lnet/minecraft/world/HeightLimitView;