Class WorldChunk

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

public class WorldChunk
extends Object
implements Chunk
Mappings:
Namespace Name
official cjw
intermediary net/minecraft/class_2818
named net/minecraft/world/chunk/WorldChunk
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lcjw;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_12839 Lnet/minecraft/class_2818;field_12839:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/chunk/WorldChunk;LOGGER:Lorg/apache/logging/log4j/Logger;
    • EMPTY_BLOCK_ENTITY_TICKER

      private static final BlockEntityTickInvoker EMPTY_BLOCK_ENTITY_TICKER
      Mappings:
      Namespace Name Mixin selector
      official c Lcjw;c:Lcgy;
      intermediary field_27221 Lnet/minecraft/class_2818;field_27221:Lnet/minecraft/class_5562;
      named EMPTY_BLOCK_ENTITY_TICKER Lnet/minecraft/world/chunk/WorldChunk;EMPTY_BLOCK_ENTITY_TICKER:Lnet/minecraft/world/chunk/BlockEntityTickInvoker;
    • EMPTY_SECTION

      @Nullable public static final ChunkSection EMPTY_SECTION
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a:Lcjx;
      intermediary field_12852 Lnet/minecraft/class_2818;field_12852:Lnet/minecraft/class_2826;
      named EMPTY_SECTION Lnet/minecraft/world/chunk/WorldChunk;EMPTY_SECTION:Lnet/minecraft/world/chunk/ChunkSection;
    • sections

      private final ChunkSection[] sections
      Mappings:
      Namespace Name Mixin selector
      official d Lcjw;d:[Lcjx;
      intermediary field_12840 Lnet/minecraft/class_2818;field_12840:[Lnet/minecraft/class_2826;
      named sections Lnet/minecraft/world/chunk/WorldChunk;sections:[Lnet/minecraft/world/chunk/ChunkSection;
    • biomeArray

      private BiomeArray biomeArray
      Mappings:
      Namespace Name Mixin selector
      official e Lcjw;e:Lcjm;
      intermediary field_20655 Lnet/minecraft/class_2818;field_20655:Lnet/minecraft/class_4548;
      named biomeArray Lnet/minecraft/world/chunk/WorldChunk;biomeArray:Lnet/minecraft/world/biome/source/BiomeArray;
    • pendingBlockEntityTags

      private final Map<BlockPos,​CompoundTag> pendingBlockEntityTags
      Mappings:
      Namespace Name Mixin selector
      official f Lcjw;f:Ljava/util/Map;
      intermediary field_12846 Lnet/minecraft/class_2818;field_12846:Ljava/util/Map;
      named pendingBlockEntityTags Lnet/minecraft/world/chunk/WorldChunk;pendingBlockEntityTags:Ljava/util/Map;
    • blockEntityTickers

      private final Map<BlockPos,​WorldChunk.WrappedBlockEntityTickInvoker> blockEntityTickers
      Mappings:
      Namespace Name Mixin selector
      official g Lcjw;g:Ljava/util/Map;
      intermediary field_27222 Lnet/minecraft/class_2818;field_27222:Ljava/util/Map;
      named blockEntityTickers Lnet/minecraft/world/chunk/WorldChunk;blockEntityTickers:Ljava/util/Map;
    • loadedToWorld

      private boolean loadedToWorld
      Mappings:
      Namespace Name Mixin selector
      official h Lcjw;h:Z
      intermediary field_12855 Lnet/minecraft/class_2818;field_12855:Z
      named loadedToWorld Lnet/minecraft/world/chunk/WorldChunk;loadedToWorld:Z
    • world

      private final World world
      Mappings:
      Namespace Name Mixin selector
      official i Lcjw;i:Lbtv;
      intermediary field_12858 Lnet/minecraft/class_2818;field_12858:Lnet/minecraft/class_1937;
      named world Lnet/minecraft/world/chunk/WorldChunk;world:Lnet/minecraft/world/World;
    • heightmaps

      private final Map<Heightmap.Type,​Heightmap> heightmaps
      Mappings:
      Namespace Name Mixin selector
      official j Lcjw;j:Ljava/util/Map;
      intermediary field_12853 Lnet/minecraft/class_2818;field_12853:Ljava/util/Map;
      named heightmaps Lnet/minecraft/world/chunk/WorldChunk;heightmaps:Ljava/util/Map;
    • upgradeData

      private final UpgradeData upgradeData
      Mappings:
      Namespace Name Mixin selector
      official k Lcjw;k:Lckg;
      intermediary field_12849 Lnet/minecraft/class_2818;field_12849:Lnet/minecraft/class_2843;
      named upgradeData Lnet/minecraft/world/chunk/WorldChunk;upgradeData:Lnet/minecraft/world/chunk/UpgradeData;
    • blockEntities

      private final Map<BlockPos,​BlockEntity> blockEntities
      Mappings:
      Namespace Name Mixin selector
      official l Lcjw;l:Ljava/util/Map;
      intermediary field_12854 Lnet/minecraft/class_2818;field_12854:Ljava/util/Map;
      named blockEntities Lnet/minecraft/world/chunk/WorldChunk;blockEntities:Ljava/util/Map;
    • structureStarts

      private final Map<StructureFeature<?>,​StructureStart<?>> structureStarts
      Mappings:
      Namespace Name Mixin selector
      official m Lcjw;m:Ljava/util/Map;
      intermediary field_12838 Lnet/minecraft/class_2818;field_12838:Ljava/util/Map;
      named structureStarts Lnet/minecraft/world/chunk/WorldChunk;structureStarts:Ljava/util/Map;
    • structureReferences

      private final Map<StructureFeature<?>,​LongSet> structureReferences
      Mappings:
      Namespace Name Mixin selector
      official n Lcjw;n:Ljava/util/Map;
      intermediary field_12845 Lnet/minecraft/class_2818;field_12845:Ljava/util/Map;
      named structureReferences Lnet/minecraft/world/chunk/WorldChunk;structureReferences:Ljava/util/Map;
    • postProcessingLists

      private final ShortList[] postProcessingLists
      Mappings:
      Namespace Name Mixin selector
      official o Lcjw;o:[Lit/unimi/dsi/fastutil/shorts/ShortList;
      intermediary field_12836 Lnet/minecraft/class_2818;field_12836:[Lit/unimi/dsi/fastutil/shorts/ShortList;
      named postProcessingLists Lnet/minecraft/world/chunk/WorldChunk;postProcessingLists:[Lit/unimi/dsi/fastutil/shorts/ShortList;
    • blockTickScheduler

      private TickScheduler<Block> blockTickScheduler
      Mappings:
      Namespace Name Mixin selector
      official p Lcjw;p:Lbun;
      intermediary field_12841 Lnet/minecraft/class_2818;field_12841:Lnet/minecraft/class_1951;
      named blockTickScheduler Lnet/minecraft/world/chunk/WorldChunk;blockTickScheduler:Lnet/minecraft/world/TickScheduler;
    • fluidTickScheduler

      private TickScheduler<Fluid> fluidTickScheduler
      Mappings:
      Namespace Name Mixin selector
      official q Lcjw;q:Lbun;
      intermediary field_12857 Lnet/minecraft/class_2818;field_12857:Lnet/minecraft/class_1951;
      named fluidTickScheduler Lnet/minecraft/world/chunk/WorldChunk;fluidTickScheduler:Lnet/minecraft/world/TickScheduler;
    • shouldSave

      private volatile boolean shouldSave
      Mappings:
      Namespace Name Mixin selector
      official r Lcjw;r:Z
      intermediary field_12834 Lnet/minecraft/class_2818;field_12834:Z
      named shouldSave Lnet/minecraft/world/chunk/WorldChunk;shouldSave:Z
    • inhabitedTime

      private long inhabitedTime
      Mappings:
      Namespace Name Mixin selector
      official s Lcjw;s:J
      intermediary field_12843 Lnet/minecraft/class_2818;field_12843:J
      named inhabitedTime Lnet/minecraft/world/chunk/WorldChunk;inhabitedTime:J
    • levelTypeProvider

      @Nullable private Supplier<ChunkHolder.LevelType> levelTypeProvider
      Mappings:
      Namespace Name Mixin selector
      official t Lcjw;t:Ljava/util/function/Supplier;
      intermediary field_12856 Lnet/minecraft/class_2818;field_12856:Ljava/util/function/Supplier;
      named levelTypeProvider Lnet/minecraft/world/chunk/WorldChunk;levelTypeProvider:Ljava/util/function/Supplier;
    • loadToWorldConsumer

      @Nullable private Consumer<WorldChunk> loadToWorldConsumer
      Mappings:
      Namespace Name Mixin selector
      official u Lcjw;u:Ljava/util/function/Consumer;
      intermediary field_12850 Lnet/minecraft/class_2818;field_12850:Ljava/util/function/Consumer;
      named loadToWorldConsumer Lnet/minecraft/world/chunk/WorldChunk;loadToWorldConsumer:Ljava/util/function/Consumer;
    • pos

      private final ChunkPos pos
      Mappings:
      Namespace Name Mixin selector
      official v Lcjw;v:Lbta;
      intermediary field_12848 Lnet/minecraft/class_2818;field_12848:Lnet/minecraft/class_1923;
      named pos Lnet/minecraft/world/chunk/WorldChunk;pos:Lnet/minecraft/util/math/ChunkPos;
    • lightOn

      private volatile boolean lightOn
      Mappings:
      Namespace Name Mixin selector
      official w Lcjw;w:Z
      intermediary field_12847 Lnet/minecraft/class_2818;field_12847:Z
      named lightOn Lnet/minecraft/world/chunk/WorldChunk;lightOn:Z
    • field_28129

      private final Int2ObjectMap<class_5713> field_28129
      Mappings:
      Namespace Name Mixin selector
      official x Lcjw;x:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_28129 Lnet/minecraft/class_2818;field_28129:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      named field_28129 Lnet/minecraft/world/chunk/WorldChunk;field_28129:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
  • Constructor Details

    • WorldChunk

      public WorldChunk​(World world, ChunkPos pos, BiomeArray biomes)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcjw;<init>(Lbtv;Lbta;Lcjm;)V
      intermediary <init> Lnet/minecraft/class_2818;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1923;Lnet/minecraft/class_4548;)V
      named <init> Lnet/minecraft/world/chunk/WorldChunk;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/biome/source/BiomeArray;)V
    • WorldChunk

      public WorldChunk​(World world, ChunkPos pos, BiomeArray biomes, UpgradeData upgradeData, TickScheduler<Block> blockTickScheduler, TickScheduler<Fluid> fluidTickScheduler, long inhabitedTime, @Nullable ChunkSection[] sections, @Nullable Consumer<WorldChunk> loadToWorldConsumer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcjw;<init>(Lbtv;Lbta;Lcjm;Lckg;Lbun;Lbun;J[Lcjx;Ljava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_2818;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1923;Lnet/minecraft/class_4548;Lnet/minecraft/class_2843;Lnet/minecraft/class_1951;Lnet/minecraft/class_1951;J[Lnet/minecraft/class_2826;Ljava/util/function/Consumer;)V
      named <init> Lnet/minecraft/world/chunk/WorldChunk;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/biome/source/BiomeArray;Lnet/minecraft/world/chunk/UpgradeData;Lnet/minecraft/world/TickScheduler;Lnet/minecraft/world/TickScheduler;J[Lnet/minecraft/world/chunk/ChunkSection;Ljava/util/function/Consumer;)V
    • WorldChunk

      public WorldChunk​(ServerWorld serverWorld, ProtoChunk protoChunk, @Nullable Consumer<WorldChunk> consumer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcjw;<init>(Laav;Lcke;Ljava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_2818;<init>(Lnet/minecraft/class_3218;Lnet/minecraft/class_2839;Ljava/util/function/Consumer;)V
      named <init> Lnet/minecraft/world/chunk/WorldChunk;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/chunk/ProtoChunk;Ljava/util/function/Consumer;)V
  • Method Details

    • method_32914

      public class_5713 method_32914​(int int2)
      Specified by:
      method_32914 in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcjl;a(I)Lclu;
      intermediary method_32914 Lnet/minecraft/class_2791;method_32914(I)Lnet/minecraft/class_5713;
      named method_32914 Lnet/minecraft/world/chunk/Chunk;method_32914(I)Lnet/minecraft/class_5713;
    • 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;
    • 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;
    • 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;
    • 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;
    • getFluidState

      public FluidState getFluidState​(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(III)Ldal;
      intermediary method_12234 Lnet/minecraft/class_2818;method_12234(III)Lnet/minecraft/class_3610;
      named getFluidState Lnet/minecraft/world/chunk/WorldChunk;getFluidState(III)Lnet/minecraft/fluid/FluidState;
    • 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;
    • addEntity

      @Deprecated public void addEntity​(Entity entity)
      Deprecated.
      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
    • 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
    • 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
    • createBlockEntity

      @Nullable private BlockEntity createBlockEntity​(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official j Lcjw;j(Lfx;)Lcfr;
      intermediary method_12208 Lnet/minecraft/class_2818;method_12208(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
      named createBlockEntity Lnet/minecraft/world/chunk/WorldChunk;createBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
    • 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;
    • getBlockEntity

      @Nullable public BlockEntity getBlockEntity​(BlockPos pos, WorldChunk.CreationType creationType)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lfx;Lcjw$b;)Lcfr;
      intermediary method_12201 Lnet/minecraft/class_2818;method_12201(Lnet/minecraft/class_2338;Lnet/minecraft/class_2818$class_2819;)Lnet/minecraft/class_2586;
      named getBlockEntity Lnet/minecraft/world/chunk/WorldChunk;getBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/WorldChunk$CreationType;)Lnet/minecraft/block/entity/BlockEntity;
    • addBlockEntity

      public void addBlockEntity​(BlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official b Lcjw;b(Lcfr;)V
      intermediary method_12216 Lnet/minecraft/class_2818;method_12216(Lnet/minecraft/class_2586;)V
      named addBlockEntity Lnet/minecraft/world/chunk/WorldChunk;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
    • canTickBlockEntities

      private boolean canTickBlockEntities()
      Mappings:
      Namespace Name Mixin selector
      official F Lcjw;F()Z
      intermediary method_31715 Lnet/minecraft/class_2818;method_31715()Z
      named canTickBlockEntities Lnet/minecraft/world/chunk/WorldChunk;canTickBlockEntities()Z
    • canTickBlockEntity

      private boolean canTickBlockEntity​(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official k Lcjw;k(Lfx;)Z
      intermediary method_31724 Lnet/minecraft/class_2818;method_31724(Lnet/minecraft/class_2338;)Z
      named canTickBlockEntity Lnet/minecraft/world/chunk/WorldChunk;canTickBlockEntity(Lnet/minecraft/util/math/BlockPos;)Z
    • 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
    • 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
    • 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
    • method_32918

      private <T extends BlockEntity> void method_32918​(T t)
      Mappings:
      Namespace Name Mixin selector
      official c Lcjw;c(Lcfr;)V
      intermediary method_32918 Lnet/minecraft/class_2818;method_32918(Lnet/minecraft/class_2586;)V
      named method_32918 Lnet/minecraft/world/chunk/WorldChunk;method_32918(Lnet/minecraft/block/entity/BlockEntity;)V
    • removeBlockEntityTicker

      private void removeBlockEntityTicker​(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official l Lcjw;l(Lfx;)V
      intermediary method_31725 Lnet/minecraft/class_2818;method_31725(Lnet/minecraft/class_2338;)V
      named removeBlockEntityTicker Lnet/minecraft/world/chunk/WorldChunk;removeBlockEntityTicker(Lnet/minecraft/util/math/BlockPos;)V
    • loadToWorld

      public void loadToWorld()
      Mappings:
      Namespace Name Mixin selector
      official x Lcjw;x()V
      intermediary method_12206 Lnet/minecraft/class_2818;method_12206()V
      named loadToWorld Lnet/minecraft/world/chunk/WorldChunk;loadToWorld()V
    • markDirty

      public void markDirty()
      Mappings:
      Namespace Name Mixin selector
      official t Lcjw;t()V
      intermediary method_12220 Lnet/minecraft/class_2818;method_12220()V
      named markDirty Lnet/minecraft/world/chunk/WorldChunk;markDirty()V
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      official u Lcjw;u()Z
      intermediary method_12223 Lnet/minecraft/class_2818;method_12223()Z
      named isEmpty Lnet/minecraft/world/chunk/WorldChunk;isEmpty()Z
    • 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;
    • loadFromPacket

      @Environment(CLIENT) public void loadFromPacket​(@Nullable BiomeArray biomes, PacketByteBuf buf, CompoundTag tag, BitSet bitSet)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lcjm;Lnw;Lmq;Ljava/util/BitSet;)V
      intermediary method_12224 Lnet/minecraft/class_2818;method_12224(Lnet/minecraft/class_4548;Lnet/minecraft/class_2540;Lnet/minecraft/class_2487;Ljava/util/BitSet;)V
      named loadFromPacket Lnet/minecraft/world/chunk/WorldChunk;loadFromPacket(Lnet/minecraft/world/biome/source/BiomeArray;Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/nbt/CompoundTag;Ljava/util/BitSet;)V
    • removeBlockEntity

      private void removeBlockEntity​(BlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official d Lcjw;d(Lcfr;)V
      intermediary method_31722 Lnet/minecraft/class_2818;method_31722(Lnet/minecraft/class_2586;)V
      named removeBlockEntity Lnet/minecraft/world/chunk/WorldChunk;removeBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
    • getBiomeArray

      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;
    • setLoadedToWorld

      public void setLoadedToWorld​(boolean loaded)
      Mappings:
      Namespace Name Mixin selector
      official c Lcjw;c(Z)V
      intermediary method_12226 Lnet/minecraft/class_2818;method_12226(Z)V
      named setLoadedToWorld Lnet/minecraft/world/chunk/WorldChunk;setLoadedToWorld(Z)V
    • getWorld

      public World getWorld()
      Mappings:
      Namespace Name Mixin selector
      official y Lcjw;y()Lbtv;
      intermediary method_12200 Lnet/minecraft/class_2818;method_12200()Lnet/minecraft/class_1937;
      named getWorld Lnet/minecraft/world/chunk/WorldChunk;getWorld()Lnet/minecraft/world/World;
    • 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;
    • getBlockEntities

      public Map<BlockPos,​BlockEntity> getBlockEntities()
      Mappings:
      Namespace Name Mixin selector
      official z Lcjw;z()Ljava/util/Map;
      intermediary method_12214 Lnet/minecraft/class_2818;method_12214()Ljava/util/Map;
      named getBlockEntities Lnet/minecraft/world/chunk/WorldChunk;getBlockEntities()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;
    • 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;
    • getBlockTickScheduler

      public TickScheduler<Block> getBlockTickScheduler()
      Specified by:
      getBlockTickScheduler in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official o Lcjl;o()Lbun;
      intermediary method_12013 Lnet/minecraft/class_2791;method_12013()Lnet/minecraft/class_1951;
      named getBlockTickScheduler Lnet/minecraft/world/chunk/Chunk;getBlockTickScheduler()Lnet/minecraft/world/TickScheduler;
    • getFluidTickScheduler

      public TickScheduler<Fluid> getFluidTickScheduler()
      Specified by:
      getFluidTickScheduler in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official p Lcjl;p()Lbun;
      intermediary method_12014 Lnet/minecraft/class_2791;method_12014()Lnet/minecraft/class_1951;
      named getFluidTickScheduler Lnet/minecraft/world/chunk/Chunk;getFluidTickScheduler()Lnet/minecraft/world/TickScheduler;
    • 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
    • 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
    • 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
    • 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
    • runPostProcessing

      public void runPostProcessing()
      Mappings:
      Namespace Name Mixin selector
      official A Lcjw;A()V
      intermediary method_12221 Lnet/minecraft/class_2818;method_12221()V
      named runPostProcessing Lnet/minecraft/world/chunk/WorldChunk;runPostProcessing()V
    • loadBlockEntity

      @Nullable private BlockEntity loadBlockEntity​(BlockPos pos, CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lfx;Lmq;)Lcfr;
      intermediary method_12204 Lnet/minecraft/class_2818;method_12204(Lnet/minecraft/class_2338;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2586;
      named loadBlockEntity Lnet/minecraft/world/chunk/WorldChunk;loadBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/block/entity/BlockEntity;
    • 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;
    • 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;
    • disableTickSchedulers

      public void disableTickSchedulers()
      Mappings:
      Namespace Name Mixin selector
      official B Lcjw;B()V
      intermediary method_20530 Lnet/minecraft/class_2818;method_20530()V
      named disableTickSchedulers Lnet/minecraft/world/chunk/WorldChunk;disableTickSchedulers()V
    • enableTickSchedulers

      public void enableTickSchedulers​(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Laav;)V
      intermediary method_20471 Lnet/minecraft/class_2818;method_20471(Lnet/minecraft/class_3218;)V
      named enableTickSchedulers Lnet/minecraft/world/chunk/WorldChunk;enableTickSchedulers(Lnet/minecraft/server/world/ServerWorld;)V
    • getBottomSectionLimit

      public int getBottomSectionLimit()
      Specified by:
      getBottomSectionLimit in interface HeightLimitView
      Mappings:
      Namespace Name Mixin selector
      official w_ Lbtx;w_()I
      intermediary method_31607 Lnet/minecraft/class_5539;method_31607()I
      named getBottomSectionLimit Lnet/minecraft/world/HeightLimitView;getBottomSectionLimit()I
    • getSectionCount

      public int getSectionCount()
      Specified by:
      getSectionCount in interface HeightLimitView
      Mappings:
      Namespace Name Mixin selector
      official m Lbtx;m()I
      intermediary method_31605 Lnet/minecraft/class_5539;method_31605()I
      named getSectionCount Lnet/minecraft/world/HeightLimitView;getSectionCount()I
    • 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;
    • getLevelType

      public ChunkHolder.LevelType getLevelType()
      Mappings:
      Namespace Name Mixin selector
      official v Lcjw;v()Laah$b;
      intermediary method_12225 Lnet/minecraft/class_2818;method_12225()Lnet/minecraft/class_3193$class_3194;
      named getLevelType Lnet/minecraft/world/chunk/WorldChunk;getLevelType()Lnet/minecraft/server/world/ChunkHolder$LevelType;
    • setLevelTypeProvider

      public void setLevelTypeProvider​(Supplier<ChunkHolder.LevelType> levelTypeProvider)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Ljava/util/function/Supplier;)V
      intermediary method_12207 Lnet/minecraft/class_2818;method_12207(Ljava/util/function/Supplier;)V
      named setLevelTypeProvider Lnet/minecraft/world/chunk/WorldChunk;setLevelTypeProvider(Ljava/util/function/Supplier;)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
    • removeAllBlockEntities

      public void removeAllBlockEntities()
      Mappings:
      Namespace Name Mixin selector
      official C Lcjw;C()V
      intermediary method_31712 Lnet/minecraft/class_2818;method_31712()V
      named removeAllBlockEntities Lnet/minecraft/world/chunk/WorldChunk;removeAllBlockEntities()V
    • updateAllBlockEntityTickers

      public void updateAllBlockEntityTickers()
      Mappings:
      Namespace Name Mixin selector
      official D Lcjw;D()V
      intermediary method_31713 Lnet/minecraft/class_2818;method_31713()V
      named updateAllBlockEntityTickers Lnet/minecraft/world/chunk/WorldChunk;updateAllBlockEntityTickers()V
    • method_32919

      private <T extends BlockEntity> void method_32919​(T t)
      Mappings:
      Namespace Name Mixin selector
      official e Lcjw;e(Lcfr;)V
      intermediary method_32919 Lnet/minecraft/class_2818;method_32919(Lnet/minecraft/class_2586;)V
      named method_32919 Lnet/minecraft/world/chunk/WorldChunk;method_32919(Lnet/minecraft/block/entity/BlockEntity;)V
    • updateTicker

      private <T extends BlockEntity> void updateTicker​(T blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official f Lcjw;f(Lcfr;)V
      intermediary method_31723 Lnet/minecraft/class_2818;method_31723(Lnet/minecraft/class_2586;)V
      named updateTicker Lnet/minecraft/world/chunk/WorldChunk;updateTicker(Lnet/minecraft/block/entity/BlockEntity;)V
    • wrapTicker

      private <T extends BlockEntity> BlockEntityTickInvoker wrapTicker​(T blockEntity, BlockEntityTicker<T> blockEntityTicker)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lcfr;Lcfs;)Lcgy;
      intermediary method_31718 Lnet/minecraft/class_2818;method_31718(Lnet/minecraft/class_2586;Lnet/minecraft/class_5558;)Lnet/minecraft/class_5562;
      named wrapTicker Lnet/minecraft/world/chunk/WorldChunk;wrapTicker(Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/block/entity/BlockEntityTicker;)Lnet/minecraft/world/chunk/BlockEntityTickInvoker;