Class ProtoChunk

java.lang.Object
net.minecraft.world.chunk.ProtoChunk
All Implemented Interfaces:
BlockView, Chunk, HeightLimitView, StructureHolder
Direct Known Subclasses:
ReadOnlyChunk

public class ProtoChunk
extends Object
implements Chunk
Mappings:
Namespace Name
official cke
intermediary net/minecraft/class_2839
named net/minecraft/world/chunk/ProtoChunk
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lcke;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_12920 Lnet/minecraft/class_2839;field_12920:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/chunk/ProtoChunk;LOGGER:Lorg/apache/logging/log4j/Logger;
    • pos

      private final ChunkPos pos
      Mappings:
      Namespace Name Mixin selector
      official b Lcke;b:Lbta;
      intermediary field_12928 Lnet/minecraft/class_2839;field_12928:Lnet/minecraft/class_1923;
      named pos Lnet/minecraft/world/chunk/ProtoChunk;pos:Lnet/minecraft/util/math/ChunkPos;
    • shouldSave

      private volatile boolean shouldSave
      Mappings:
      Namespace Name Mixin selector
      official c Lcke;c:Z
      intermediary field_12924 Lnet/minecraft/class_2839;field_12924:Z
      named shouldSave Lnet/minecraft/world/chunk/ProtoChunk;shouldSave:Z
    • biomes

      @Nullable private BiomeArray biomes
      Mappings:
      Namespace Name Mixin selector
      official d Lcke;d:Lcjm;
      intermediary field_20656 Lnet/minecraft/class_2839;field_20656:Lnet/minecraft/class_4548;
      named biomes Lnet/minecraft/world/chunk/ProtoChunk;biomes:Lnet/minecraft/world/biome/source/BiomeArray;
    • lightingProvider

      @Nullable private volatile LightingProvider lightingProvider
      Mappings:
      Namespace Name Mixin selector
      official e Lcke;e:Ldac;
      intermediary field_17105 Lnet/minecraft/class_2839;field_17105:Lnet/minecraft/class_3568;
      named lightingProvider Lnet/minecraft/world/chunk/ProtoChunk;lightingProvider:Lnet/minecraft/world/chunk/light/LightingProvider;
    • heightmaps

      private final Map<Heightmap.Type,​Heightmap> heightmaps
      Mappings:
      Namespace Name Mixin selector
      official f Lcke;f:Ljava/util/Map;
      intermediary field_12912 Lnet/minecraft/class_2839;field_12912:Ljava/util/Map;
      named heightmaps Lnet/minecraft/world/chunk/ProtoChunk;heightmaps:Ljava/util/Map;
    • status

      private volatile ChunkStatus status
      Mappings:
      Namespace Name Mixin selector
      official g Lcke;g:Lcjp;
      intermediary field_12918 Lnet/minecraft/class_2839;field_12918:Lnet/minecraft/class_2806;
      named status Lnet/minecraft/world/chunk/ProtoChunk;status:Lnet/minecraft/world/chunk/ChunkStatus;
    • blockEntities

      private final Map<BlockPos,​BlockEntity> blockEntities
      Mappings:
      Namespace Name Mixin selector
      official h Lcke;h:Ljava/util/Map;
      intermediary field_12917 Lnet/minecraft/class_2839;field_12917:Ljava/util/Map;
      named blockEntities Lnet/minecraft/world/chunk/ProtoChunk;blockEntities:Ljava/util/Map;
    • blockEntityTags

      private final Map<BlockPos,​CompoundTag> blockEntityTags
      Mappings:
      Namespace Name Mixin selector
      official i Lcke;i:Ljava/util/Map;
      intermediary field_12927 Lnet/minecraft/class_2839;field_12927:Ljava/util/Map;
      named blockEntityTags Lnet/minecraft/world/chunk/ProtoChunk;blockEntityTags:Ljava/util/Map;
    • sections

      private final ChunkSection[] sections
      Mappings:
      Namespace Name Mixin selector
      official j Lcke;j:[Lcjx;
      intermediary field_12909 Lnet/minecraft/class_2839;field_12909:[Lnet/minecraft/class_2826;
      named sections Lnet/minecraft/world/chunk/ProtoChunk;sections:[Lnet/minecraft/world/chunk/ChunkSection;
    • entities

      private final List<CompoundTag> entities
      Mappings:
      Namespace Name Mixin selector
      official k Lcke;k:Ljava/util/List;
      intermediary field_12929 Lnet/minecraft/class_2839;field_12929:Ljava/util/List;
      named entities Lnet/minecraft/world/chunk/ProtoChunk;entities:Ljava/util/List;
    • lightSources

      private final List<BlockPos> lightSources
      Mappings:
      Namespace Name Mixin selector
      official l Lcke;l:Ljava/util/List;
      intermediary field_12919 Lnet/minecraft/class_2839;field_12919:Ljava/util/List;
      named lightSources Lnet/minecraft/world/chunk/ProtoChunk;lightSources:Ljava/util/List;
    • postProcessingLists

      private final ShortList[] postProcessingLists
      Mappings:
      Namespace Name Mixin selector
      official m Lcke;m:[Lit/unimi/dsi/fastutil/shorts/ShortList;
      intermediary field_12921 Lnet/minecraft/class_2839;field_12921:[Lit/unimi/dsi/fastutil/shorts/ShortList;
      named postProcessingLists Lnet/minecraft/world/chunk/ProtoChunk;postProcessingLists:[Lit/unimi/dsi/fastutil/shorts/ShortList;
    • structureStarts

      private final Map<StructureFeature<?>,​StructureStart<?>> structureStarts
      Mappings:
      Namespace Name Mixin selector
      official n Lcke;n:Ljava/util/Map;
      intermediary field_12915 Lnet/minecraft/class_2839;field_12915:Ljava/util/Map;
      named structureStarts Lnet/minecraft/world/chunk/ProtoChunk;structureStarts:Ljava/util/Map;
    • structureReferences

      private final Map<StructureFeature<?>,​LongSet> structureReferences
      Mappings:
      Namespace Name Mixin selector
      official o Lcke;o:Ljava/util/Map;
      intermediary field_12930 Lnet/minecraft/class_2839;field_12930:Ljava/util/Map;
      named structureReferences Lnet/minecraft/world/chunk/ProtoChunk;structureReferences:Ljava/util/Map;
    • upgradeData

      private final UpgradeData upgradeData
      Mappings:
      Namespace Name Mixin selector
      official p Lcke;p:Lckg;
      intermediary field_12916 Lnet/minecraft/class_2839;field_12916:Lnet/minecraft/class_2843;
      named upgradeData Lnet/minecraft/world/chunk/ProtoChunk;upgradeData:Lnet/minecraft/world/chunk/UpgradeData;
    • blockTickScheduler

      private final ChunkTickScheduler<Block> blockTickScheduler
      Mappings:
      Namespace Name Mixin selector
      official q Lcke;q:Lckf;
      intermediary field_12911 Lnet/minecraft/class_2839;field_12911:Lnet/minecraft/class_2850;
      named blockTickScheduler Lnet/minecraft/world/chunk/ProtoChunk;blockTickScheduler:Lnet/minecraft/world/ChunkTickScheduler;
    • fluidTickScheduler

      private final ChunkTickScheduler<Fluid> fluidTickScheduler
      Mappings:
      Namespace Name Mixin selector
      official r Lcke;r:Lckf;
      intermediary field_12923 Lnet/minecraft/class_2839;field_12923:Lnet/minecraft/class_2850;
      named fluidTickScheduler Lnet/minecraft/world/chunk/ProtoChunk;fluidTickScheduler:Lnet/minecraft/world/ChunkTickScheduler;
    • world

      private final HeightLimitView world
      Mappings:
      Namespace Name Mixin selector
      official s Lcke;s:Lbtx;
      intermediary field_27229 Lnet/minecraft/class_2839;field_27229:Lnet/minecraft/class_5539;
      named world Lnet/minecraft/world/chunk/ProtoChunk;world:Lnet/minecraft/world/HeightLimitView;
    • inhabitedTime

      private long inhabitedTime
      Mappings:
      Namespace Name Mixin selector
      official t Lcke;t:J
      intermediary field_12925 Lnet/minecraft/class_2839;field_12925:J
      named inhabitedTime Lnet/minecraft/world/chunk/ProtoChunk;inhabitedTime:J
    • carvingMasks

      private final Map<GenerationStep.Carver,​BitSet> carvingMasks
      Mappings:
      Namespace Name Mixin selector
      official u Lcke;u:Ljava/util/Map;
      intermediary field_12926 Lnet/minecraft/class_2839;field_12926:Ljava/util/Map;
      named carvingMasks Lnet/minecraft/world/chunk/ProtoChunk;carvingMasks:Ljava/util/Map;
    • lightOn

      private volatile boolean lightOn
      Mappings:
      Namespace Name Mixin selector
      official v Lcke;v:Z
      intermediary field_12914 Lnet/minecraft/class_2839;field_12914:Z
      named lightOn Lnet/minecraft/world/chunk/ProtoChunk;lightOn:Z
  • Constructor Details

    • ProtoChunk

      public ProtoChunk​(ChunkPos pos, UpgradeData upgradeData, HeightLimitView world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcke;<init>(Lbta;Lckg;Lbtx;)V
      intermediary <init> Lnet/minecraft/class_2839;<init>(Lnet/minecraft/class_1923;Lnet/minecraft/class_2843;Lnet/minecraft/class_5539;)V
      named <init> Lnet/minecraft/world/chunk/ProtoChunk;<init>(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/chunk/UpgradeData;Lnet/minecraft/world/HeightLimitView;)V
    • ProtoChunk

      public ProtoChunk​(ChunkPos pos, UpgradeData upgradeData, @Nullable ChunkSection[] chunkSection, ChunkTickScheduler<Block> blockTickScheduler, ChunkTickScheduler<Fluid> fluidTickScheduler, HeightLimitView world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcke;<init>(Lbta;Lckg;[Lcjx;Lckf;Lckf;Lbtx;)V
      intermediary <init> Lnet/minecraft/class_2839;<init>(Lnet/minecraft/class_1923;Lnet/minecraft/class_2843;[Lnet/minecraft/class_2826;Lnet/minecraft/class_2850;Lnet/minecraft/class_2850;Lnet/minecraft/class_5539;)V
      named <init> Lnet/minecraft/world/chunk/ProtoChunk;<init>(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/chunk/UpgradeData;[Lnet/minecraft/world/chunk/ChunkSection;Lnet/minecraft/world/ChunkTickScheduler;Lnet/minecraft/world/ChunkTickScheduler;Lnet/minecraft/world/HeightLimitView;)V
  • Method Details

    • getBlockState

      public BlockState getBlockState​(BlockPos pos)
      Specified by:
      getBlockState in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official d_ Lbsz;d_(Lfx;)Lcht;
      intermediary method_8320 Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getBlockState Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • getFluidState

      public FluidState getFluidState​(BlockPos pos)
      Specified by:
      getFluidState in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official b Lbsz;b(Lfx;)Ldal;
      intermediary method_8316 Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;
      named getFluidState Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
    • getLightSourcesStream

      public Stream<BlockPos> getLightSourcesStream()
      Specified by:
      getLightSourcesStream in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official n Lcjl;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;
    • getLightSourcesBySection

      public ShortList[] getLightSourcesBySection()
      Mappings:
      Namespace Name Mixin selector
      official x Lcke;x()[Lit/unimi/dsi/fastutil/shorts/ShortList;
      intermediary method_12296 Lnet/minecraft/class_2839;method_12296()[Lit/unimi/dsi/fastutil/shorts/ShortList;
      named getLightSourcesBySection Lnet/minecraft/world/chunk/ProtoChunk;getLightSourcesBySection()[Lit/unimi/dsi/fastutil/shorts/ShortList;
    • addLightSource

      public void addLightSource​(short chunkSliceRel, int sectionY)
      Mappings:
      Namespace Name Mixin selector
      official b Lcke;b(SI)V
      intermediary method_12304 Lnet/minecraft/class_2839;method_12304(SI)V
      named addLightSource Lnet/minecraft/world/chunk/ProtoChunk;addLightSource(SI)V
    • addLightSource

      public void addLightSource​(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official j Lcke;j(Lfx;)V
      intermediary method_12315 Lnet/minecraft/class_2839;method_12315(Lnet/minecraft/class_2338;)V
      named addLightSource Lnet/minecraft/world/chunk/ProtoChunk;addLightSource(Lnet/minecraft/util/math/BlockPos;)V
    • setBlockState

      @Nullable public BlockState setBlockState​(BlockPos pos, BlockState state, boolean moved)
      Specified by:
      setBlockState in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcjl;a(Lfx;Lcht;Z)Lcht;
      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;
    • getSection

      public ChunkSection getSection​(int y)
      Mappings:
      Namespace Name Mixin selector
      official b Lcke;b(I)Lcjx;
      intermediary method_16679 Lnet/minecraft/class_2839;method_16679(I)Lnet/minecraft/class_2826;
      named getSection Lnet/minecraft/world/chunk/ProtoChunk;getSection(I)Lnet/minecraft/world/chunk/ChunkSection;
    • setBlockEntity

      public void setBlockEntity​(BlockEntity blockEntity)
      Specified by:
      setBlockEntity in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcjl;a(Lcfr;)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
    • getBlockEntityPositions

      public Set<BlockPos> getBlockEntityPositions()
      Specified by:
      getBlockEntityPositions in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official c Lcjl;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;
    • getBlockEntity

      @Nullable public BlockEntity getBlockEntity​(BlockPos pos)
      Specified by:
      getBlockEntity in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official c Lbsz;c(Lfx;)Lcfr;
      intermediary method_8321 Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
      named getBlockEntity Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
    • getBlockEntities

      public Map<BlockPos,​BlockEntity> getBlockEntities()
      Mappings:
      Namespace Name Mixin selector
      official y Lcke;y()Ljava/util/Map;
      intermediary method_12309 Lnet/minecraft/class_2839;method_12309()Ljava/util/Map;
      named getBlockEntities Lnet/minecraft/world/chunk/ProtoChunk;getBlockEntities()Ljava/util/Map;
    • addEntity

      public void addEntity​(CompoundTag entityTag)
      Mappings:
      Namespace Name Mixin selector
      official b Lcke;b(Lmq;)V
      intermediary method_12302 Lnet/minecraft/class_2839;method_12302(Lnet/minecraft/class_2487;)V
      named addEntity Lnet/minecraft/world/chunk/ProtoChunk;addEntity(Lnet/minecraft/nbt/CompoundTag;)V
    • addEntity

      public void addEntity​(Entity entity)
      Specified by:
      addEntity in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcjl;a(Laqv;)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
    • getEntities

      public List<CompoundTag> getEntities()
      Mappings:
      Namespace Name Mixin selector
      official z Lcke;z()Ljava/util/List;
      intermediary method_12295 Lnet/minecraft/class_2839;method_12295()Ljava/util/List;
      named getEntities Lnet/minecraft/world/chunk/ProtoChunk;getEntities()Ljava/util/List;
    • setBiomes

      public void setBiomes​(BiomeArray biomes)
      Mappings:
      Namespace Name Mixin selector
      official a Lcke;a(Lcjm;)V
      intermediary method_22405 Lnet/minecraft/class_2839;method_22405(Lnet/minecraft/class_4548;)V
      named setBiomes Lnet/minecraft/world/chunk/ProtoChunk;setBiomes(Lnet/minecraft/world/biome/source/BiomeArray;)V
    • getBiomeArray

      @Nullable public BiomeArray getBiomeArray()
      Specified by:
      getBiomeArray in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official h Lcjl;h()Lcjm;
      intermediary method_12036 Lnet/minecraft/class_2791;method_12036()Lnet/minecraft/class_4548;
      named getBiomeArray Lnet/minecraft/world/chunk/Chunk;getBiomeArray()Lnet/minecraft/world/biome/source/BiomeArray;
    • setShouldSave

      public void setShouldSave​(boolean shouldSave)
      Specified by:
      setShouldSave in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcjl;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()
      Specified by:
      needsSaving in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official i Lcjl;i()Z
      intermediary method_12044 Lnet/minecraft/class_2791;method_12044()Z
      named needsSaving Lnet/minecraft/world/chunk/Chunk;needsSaving()Z
    • getStatus

      public ChunkStatus getStatus()
      Specified by:
      getStatus in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official j Lcjl;j()Lcjp;
      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;
    • setStatus

      public void setStatus​(ChunkStatus status)
      Mappings:
      Namespace Name Mixin selector
      official a Lcke;a(Lcjp;)V
      intermediary method_12308 Lnet/minecraft/class_2839;method_12308(Lnet/minecraft/class_2806;)V
      named setStatus Lnet/minecraft/world/chunk/ProtoChunk;setStatus(Lnet/minecraft/world/chunk/ChunkStatus;)V
    • getSectionArray

      public ChunkSection[] getSectionArray()
      Specified by:
      getSectionArray in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official d Lcjl;d()[Lcjx;
      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;
    • getHeightmaps

      public Collection<Map.Entry<Heightmap.Type,​Heightmap>> getHeightmaps()
      Specified by:
      getHeightmaps in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official e Lcjl;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)
      Specified by:
      setHeightmap in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcjl;a(Lcmm$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)
      Specified by:
      getHeightmap in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcjl;a(Lcmm$a;)Lcmm;
      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;
    • sampleHeightmap

      public int sampleHeightmap​(Heightmap.Type type, int x, int z)
      Specified by:
      sampleHeightmap in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcjl;a(Lcmm$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()
      Specified by:
      getPos in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official f Lcjl;f()Lbta;
      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 StructureStart<?> getStructureStart​(StructureFeature<?> structure)
      Specified by:
      getStructureStart in interface StructureHolder
      Mappings:
      Namespace Name Mixin selector
      official a Lcjs;a(Lcqj;)Lcxi;
      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 Lcjs;a(Lcqj;Lcxi;)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()
      Specified by:
      getStructureStarts in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official g Lcjl;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)
      Specified by:
      setStructureStarts in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcjl;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 Lcjs;b(Lcqj;)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 Lcjs;a(Lcqj;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 w Lcjs;w()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 Lcjs;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
    • getPackedSectionRelative

      public static short getPackedSectionRelative​(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official k Lcke;k(Lfx;)S
      intermediary method_12300 Lnet/minecraft/class_2839;method_12300(Lnet/minecraft/class_2338;)S
      named getPackedSectionRelative Lnet/minecraft/world/chunk/ProtoChunk;getPackedSectionRelative(Lnet/minecraft/util/math/BlockPos;)S
    • joinBlockPos

      public static BlockPos joinBlockPos​(short sectionRel, int sectionY, ChunkPos chunkPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcke;a(SILbta;)Lfx;
      intermediary method_12314 Lnet/minecraft/class_2839;method_12314(SILnet/minecraft/class_1923;)Lnet/minecraft/class_2338;
      named joinBlockPos Lnet/minecraft/world/chunk/ProtoChunk;joinBlockPos(SILnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/util/math/BlockPos;
    • markBlockForPostProcessing

      public void markBlockForPostProcessing​(BlockPos pos)
      Specified by:
      markBlockForPostProcessing in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official e Lcjl;e(Lfx;)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()
      Specified by:
      getPostProcessingLists in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official k Lcjl;k()[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)
      Specified by:
      markBlockForPostProcessing in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcjl;a(SI)V
      intermediary method_12029 Lnet/minecraft/class_2791;method_12029(SI)V
      named markBlockForPostProcessing Lnet/minecraft/world/chunk/Chunk;markBlockForPostProcessing(SI)V
    • getBlockTickScheduler

      public ChunkTickScheduler<Block> getBlockTickScheduler()
      Specified by:
      getBlockTickScheduler in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official t Lcke;t()Lckf;
      intermediary method_12303 Lnet/minecraft/class_2839;method_12303()Lnet/minecraft/class_2850;
      named getBlockTickScheduler Lnet/minecraft/world/chunk/ProtoChunk;getBlockTickScheduler()Lnet/minecraft/world/ChunkTickScheduler;
    • getFluidTickScheduler

      public ChunkTickScheduler<Fluid> getFluidTickScheduler()
      Specified by:
      getFluidTickScheduler in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official u Lcke;u()Lckf;
      intermediary method_12313 Lnet/minecraft/class_2839;method_12313()Lnet/minecraft/class_2850;
      named getFluidTickScheduler Lnet/minecraft/world/chunk/ProtoChunk;getFluidTickScheduler()Lnet/minecraft/world/ChunkTickScheduler;
    • getUpgradeData

      public UpgradeData getUpgradeData()
      Specified by:
      getUpgradeData in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official q Lcjl;q()Lckg;
      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;
    • setInhabitedTime

      public void setInhabitedTime​(long inhabitedTime)
      Specified by:
      setInhabitedTime in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcjl;a(J)V
      intermediary method_12028 Lnet/minecraft/class_2791;method_12028(J)V
      named setInhabitedTime Lnet/minecraft/world/chunk/Chunk;setInhabitedTime(J)V
    • getInhabitedTime

      public long getInhabitedTime()
      Specified by:
      getInhabitedTime in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official r Lcjl;r()J
      intermediary method_12033 Lnet/minecraft/class_2791;method_12033()J
      named getInhabitedTime Lnet/minecraft/world/chunk/Chunk;getInhabitedTime()J
    • addPendingBlockEntityTag

      public void addPendingBlockEntityTag​(CompoundTag tag)
      Specified by:
      addPendingBlockEntityTag in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcjl;a(Lmq;)V
      intermediary method_12042 Lnet/minecraft/class_2791;method_12042(Lnet/minecraft/class_2487;)V
      named addPendingBlockEntityTag Lnet/minecraft/world/chunk/Chunk;addPendingBlockEntityTag(Lnet/minecraft/nbt/CompoundTag;)V
    • getBlockEntityTags

      public Map<BlockPos,​CompoundTag> getBlockEntityTags()
      Mappings:
      Namespace Name Mixin selector
      official A Lcke;A()Ljava/util/Map;
      intermediary method_12316 Lnet/minecraft/class_2839;method_12316()Ljava/util/Map;
      named getBlockEntityTags Lnet/minecraft/world/chunk/ProtoChunk;getBlockEntityTags()Ljava/util/Map;
    • getBlockEntityTag

      public CompoundTag getBlockEntityTag​(BlockPos pos)
      Specified by:
      getBlockEntityTag in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official h Lcjl;h(Lfx;)Lmq;
      intermediary method_12024 Lnet/minecraft/class_2791;method_12024(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;
      named getBlockEntityTag Lnet/minecraft/world/chunk/Chunk;getBlockEntityTag(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/CompoundTag;
    • getPackedBlockEntityTag

      @Nullable public CompoundTag getPackedBlockEntityTag​(BlockPos pos)
      Specified by:
      getPackedBlockEntityTag in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official i Lcjl;i(Lfx;)Lmq;
      intermediary method_20598 Lnet/minecraft/class_2791;method_20598(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;
      named getPackedBlockEntityTag Lnet/minecraft/world/chunk/Chunk;getPackedBlockEntityTag(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/CompoundTag;
    • removeBlockEntity

      public void removeBlockEntity​(BlockPos pos)
      Specified by:
      removeBlockEntity in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official d Lcjl;d(Lfx;)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
    • getCarvingMask

      @Nullable public BitSet getCarvingMask​(GenerationStep.Carver carver)
      Mappings:
      Namespace Name Mixin selector
      official a Lcke;a(Lcmi$a;)Ljava/util/BitSet;
      intermediary method_12025 Lnet/minecraft/class_2839;method_12025(Lnet/minecraft/class_2893$class_2894;)Ljava/util/BitSet;
      named getCarvingMask Lnet/minecraft/world/chunk/ProtoChunk;getCarvingMask(Lnet/minecraft/world/gen/GenerationStep$Carver;)Ljava/util/BitSet;
    • getOrCreateCarvingMask

      public BitSet getOrCreateCarvingMask​(GenerationStep.Carver carver)
      Mappings:
      Namespace Name Mixin selector
      official b Lcke;b(Lcmi$a;)Ljava/util/BitSet;
      intermediary method_28510 Lnet/minecraft/class_2839;method_28510(Lnet/minecraft/class_2893$class_2894;)Ljava/util/BitSet;
      named getOrCreateCarvingMask Lnet/minecraft/world/chunk/ProtoChunk;getOrCreateCarvingMask(Lnet/minecraft/world/gen/GenerationStep$Carver;)Ljava/util/BitSet;
    • setCarvingMask

      public void setCarvingMask​(GenerationStep.Carver carver, BitSet mask)
      Mappings:
      Namespace Name Mixin selector
      official a Lcke;a(Lcmi$a;Ljava/util/BitSet;)V
      intermediary method_12307 Lnet/minecraft/class_2839;method_12307(Lnet/minecraft/class_2893$class_2894;Ljava/util/BitSet;)V
      named setCarvingMask Lnet/minecraft/world/chunk/ProtoChunk;setCarvingMask(Lnet/minecraft/world/gen/GenerationStep$Carver;Ljava/util/BitSet;)V
    • setLightingProvider

      public void setLightingProvider​(LightingProvider lightingProvider)
      Mappings:
      Namespace Name Mixin selector
      official a Lcke;a(Ldac;)V
      intermediary method_17032 Lnet/minecraft/class_2839;method_17032(Lnet/minecraft/class_3568;)V
      named setLightingProvider Lnet/minecraft/world/chunk/ProtoChunk;setLightingProvider(Lnet/minecraft/world/chunk/light/LightingProvider;)V
    • isLightOn

      public boolean isLightOn()
      Specified by:
      isLightOn in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official s Lcjl;s()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)
      Specified by:
      setLightOn in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official b Lcjl;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:
      HeightLimitView.getTopY(), HeightLimitView.getHeight()
      Mappings:
      Namespace Name Mixin selector
      official w_ Lbtx;w_()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:
      HeightLimitView.getBottomY(), HeightLimitView.getTopY()
      Mappings:
      Namespace Name Mixin selector
      official m Lbtx;m()I
      intermediary method_31605 Lnet/minecraft/class_5539;method_31605()I
      named getHeight Lnet/minecraft/world/HeightLimitView;getHeight()I