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 cmw
intermediary net/minecraft/class_2818
named net/minecraft/world/chunk/WorldChunk
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lcmw;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 Lcmw;c:Lcjw;
      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 @Nullable ChunkSection EMPTY_SECTION
      Mappings:
      Namespace Name Mixin selector
      official a Lcmw;a:Lcmx;
      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 Lcmw;d:[Lcmx;
      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 Lcmw;e:Lcmm;
      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;
    • pendingBlockEntityNbts

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

      private final Map<BlockPos,​WorldChunk.WrappedBlockEntityTickInvoker> blockEntityTickers
      Mappings:
      Namespace Name Mixin selector
      official g Lcmw;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 Lcmw;h:Z
      intermediary field_12855 Lnet/minecraft/class_2818;field_12855:Z
      named loadedToWorld Lnet/minecraft/world/chunk/WorldChunk;loadedToWorld:Z
    • world

      final World world
      Mappings:
      Namespace Name Mixin selector
      official i Lcmw;i:Lbwp;
      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 Lcmw;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 Lcmw;k:Lcng;
      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 Lcmw;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 Lcmw;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 Lcmw;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 Lcmw;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 Lcmw;p:Lbxh;
      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 Lcmw;q:Lbxh;
      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 Lcmw;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 Lcmw;s:J
      intermediary field_12843 Lnet/minecraft/class_2818;field_12843:J
      named inhabitedTime Lnet/minecraft/world/chunk/WorldChunk;inhabitedTime:J
    • levelTypeProvider

      @Nullable private @Nullable Supplier<ChunkHolder.LevelType> levelTypeProvider
      Mappings:
      Namespace Name Mixin selector
      official t Lcmw;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 @Nullable Consumer<WorldChunk> loadToWorldConsumer
      Mappings:
      Namespace Name Mixin selector
      official u Lcmw;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 Lcmw;v:Lbvu;
      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 Lcmw;w:Z
      intermediary field_12847 Lnet/minecraft/class_2818;field_12847:Z
      named lightOn Lnet/minecraft/world/chunk/WorldChunk;lightOn:Z
    • gameEventDispatchers

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

    • WorldChunk

      public WorldChunk(World world, ChunkPos pos, BiomeArray biomes)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcmw;<init>(Lbwp;Lbvu;Lcmm;)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 @Nullable ChunkSection[] sections, @Nullable @Nullable Consumer<WorldChunk> loadToWorldConsumer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcmw;<init>(Lbwp;Lbvu;Lcmm;Lcng;Lbxh;Lbxh;J[Lcmx;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 @Nullable Consumer<WorldChunk> consumer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcmw;<init>(Labr;Lcne;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

    • getGameEventDispatcher

      public GameEventDispatcher getGameEventDispatcher(int ySectionCoord)
      Specified by:
      getGameEventDispatcher in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcml;a(I)Lcow;
      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;
    • getHeightmap

      public Heightmap getHeightmap(Heightmap.Type type)
      Specified by:
      getHeightmap in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcml;a(Lcps$a;)Lcps;
      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 Lcml;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 Lcml;d()[Lcmx;
      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 a_ Lbvt;a_(Lgg;)Lcks;
      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_ Lbvt;b_(Lgg;)Ldes;
      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 Lcmw;a(III)Ldes;
      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 @Nullable BlockState setBlockState(BlockPos pos, BlockState state, boolean moved)
      Specified by:
      setBlockState in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcml;a(Lgg;Lcks;Z)Lcks;
      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 Lcml;a(Latf;)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
    • sampleHeightmap

      public int sampleHeightmap(Heightmap.Type type, int x, int z)
      Specified by:
      sampleHeightmap in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcml;a(Lcps$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
    • method_35319

      public BlockPos method_35319(Heightmap.Type type)
      Specified by:
      method_35319 in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official b Lcml;b(Lcps$a;)Lgg;
      intermediary method_35319 Lnet/minecraft/class_2791;method_35319(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_2338;
      named method_35319 Lnet/minecraft/world/chunk/Chunk;method_35319(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/util/math/BlockPos;
    • createBlockEntity

      @Nullable private @Nullable BlockEntity createBlockEntity(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official j Lcmw;j(Lgg;)Lcip;
      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 @Nullable BlockEntity getBlockEntity(BlockPos pos)
      Specified by:
      getBlockEntity in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official c_ Lbvt;c_(Lgg;)Lcip;
      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 @Nullable BlockEntity getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmw;a(Lgg;Lcmw$b;)Lcip;
      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 Lcmw;b(Lcip;)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 E Lcmw;E()Z
      intermediary method_31715 Lnet/minecraft/class_2818;method_31715()Z
      named canTickBlockEntities Lnet/minecraft/world/chunk/WorldChunk;canTickBlockEntities()Z
    • canTickBlockEntity

      boolean canTickBlockEntity(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official k Lcmw;k(Lgg;)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 Lcml;a(Lcip;)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
    • addPendingBlockEntityNbt

      public void addPendingBlockEntityNbt(NbtCompound nbt)
      Specified by:
      addPendingBlockEntityNbt in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcml;a(Lna;)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
    • getPackedBlockEntityNbt

      @Nullable public @Nullable NbtCompound getPackedBlockEntityNbt(BlockPos pos)
      Specified by:
      getPackedBlockEntityNbt in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official g Lcml;g(Lgg;)Lna;
      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;
    • removeBlockEntity

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

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

      private void removeBlockEntityTicker(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official l Lcmw;l(Lgg;)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 Lcmw;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 Lcmw;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 Lcmw;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 Lcml;f()Lbvu;
      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

      public void loadFromPacket(@Nullable @Nullable BiomeArray biomes, PacketByteBuf buf, NbtCompound nbt, BitSet bitSet)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmw;a(Lcmm;Log;Lna;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/NbtCompound;Ljava/util/BitSet;)V
    • removeBlockEntity

      private void removeBlockEntity(BlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official d Lcmw;d(Lcip;)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 Lcml;h()Lcmm;
      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 Lcmw;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 Lcmw;y()Lbwp;
      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 Lcml;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 Lcmw;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;
    • getBlockEntityNbt

      public NbtCompound getBlockEntityNbt(BlockPos pos)
      Specified by:
      getBlockEntityNbt in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official f Lcml;f(Lgg;)Lna;
      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;
    • getLightSourcesStream

      public Stream<BlockPos> getLightSourcesStream()
      Specified by:
      getLightSourcesStream in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official n Lcml;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 Lcml;o()Lbxh;
      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 Lcml;p()Lbxh;
      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 Lcml;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 Lcml;i()Z
      intermediary method_12044 Lnet/minecraft/class_2791;method_12044()Z
      named needsSaving Lnet/minecraft/world/chunk/Chunk;needsSaving()Z
    • getStructureStart

      @Nullable public @Nullable StructureStart<?> getStructureStart(StructureFeature<?> structure)
      Specified by:
      getStructureStart in interface StructureHolder
      Mappings:
      Namespace Name Mixin selector
      official a Lcms;a(Lcuc;)Ldbn;
      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 Lcms;a(Lcuc;Ldbn;)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 Lcml;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 Lcml;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 Lcms;b(Lcuc;)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 Lcms;a(Lcuc;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 Lcms;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 Lcms;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 Lcml;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 Lcml;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 Lcmw;A()V
      intermediary method_12221 Lnet/minecraft/class_2818;method_12221()V
      named runPostProcessing Lnet/minecraft/world/chunk/WorldChunk;runPostProcessing()V
    • loadBlockEntity

      @Nullable private @Nullable BlockEntity loadBlockEntity(BlockPos pos, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmw;a(Lgg;Lna;)Lcip;
      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/NbtCompound;)Lnet/minecraft/block/entity/BlockEntity;
    • getUpgradeData

      public UpgradeData getUpgradeData()
      Specified by:
      getUpgradeData in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official q Lcml;q()Lcng;
      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 Lcml;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 Lcmw;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 Lcmw;a(Labr;)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
    • 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 s_ Lbwr;s_()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 t_ Lbwr;t_()I
      intermediary method_31605 Lnet/minecraft/class_5539;method_31605()I
      named getHeight Lnet/minecraft/world/HeightLimitView;getHeight()I
    • getStatus

      public ChunkStatus getStatus()
      Specified by:
      getStatus in interface Chunk
      Mappings:
      Namespace Name Mixin selector
      official j Lcml;j()Lcmp;
      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 Lcmw;v()Labd$c;
      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 Lcmw;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 Lcml;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 Lcml;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 Lcmw;C()V
      intermediary method_31712 Lnet/minecraft/class_2818;method_31712()V
      named removeAllBlockEntities Lnet/minecraft/world/chunk/WorldChunk;removeAllBlockEntities()V
    • updateAllBlockEntities

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

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

      private <T extends BlockEntity> void updateTicker(T blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official f Lcmw;f(Lcip;)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 Lcmw;a(Lcip;Lciq;)Lcjw;
      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;