Class ChunkCache

java.lang.Object
net.minecraft.world.chunk.ChunkCache
All Implemented Interfaces:
BlockView

public class ChunkCache extends Object implements BlockView
Mappings:
Namespace Name
official and
intermediary net/minecraft/class_1164
named net/minecraft/world/chunk/ChunkCache
  • Field Details

    • minX

      protected int minX
      Mappings:
      Namespace Name Mixin selector
      official a Land;a:I
      intermediary field_4595 Lnet/minecraft/class_1164;field_4595:I
      named minX Lnet/minecraft/world/chunk/ChunkCache;minX:I
    • minZ

      protected int minZ
      Mappings:
      Namespace Name Mixin selector
      official b Land;b:I
      intermediary field_4596 Lnet/minecraft/class_1164;field_4596:I
      named minZ Lnet/minecraft/world/chunk/ChunkCache;minZ:I
    • chunks

      protected Chunk[][] chunks
      Mappings:
      Namespace Name Mixin selector
      official c Land;c:[[Laxw;
      intermediary field_4597 Lnet/minecraft/class_1164;field_4597:[[Lnet/minecraft/class_1196;
      named chunks Lnet/minecraft/world/chunk/ChunkCache;chunks:[[Lnet/minecraft/world/chunk/Chunk;
    • empty

      protected boolean empty
      Mappings:
      Namespace Name Mixin selector
      official d Land;d:Z
      intermediary field_4598 Lnet/minecraft/class_1164;field_4598:Z
      named empty Lnet/minecraft/world/chunk/ChunkCache;empty:Z
    • world

      protected World world
      Mappings:
      Namespace Name Mixin selector
      official e Land;e:Lamu;
      intermediary field_4599 Lnet/minecraft/class_1164;field_4599:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/world/chunk/ChunkCache;world:Lnet/minecraft/world/World;
  • Constructor Details

    • ChunkCache

      public ChunkCache(World world, BlockPos minPos, BlockPos maxPos, int offset)
      Mappings:
      Namespace Name Mixin selector
      official <init> Land;<init>(Lamu;Let;Let;I)V
      intermediary <init> Lnet/minecraft/class_1164;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;I)V
      named <init> Lnet/minecraft/world/chunk/ChunkCache;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;I)V
  • Method Details

    • method_3772

      @Environment(CLIENT) public boolean method_3772()
      Mappings:
      Namespace Name Mixin selector
      official ac Land;ac()Z
      intermediary method_3772 Lnet/minecraft/class_1164;method_3772()Z
      named method_3772 Lnet/minecraft/world/chunk/ChunkCache;method_3772()Z
    • getBlockEntity

      @Nullable public BlockEntity getBlockEntity(BlockPos pos)
      Specified by:
      getBlockEntity in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official r Lamy;r(Let;)Lavj;
      intermediary method_8581 Lnet/minecraft/class_1158;method_8581(Lnet/minecraft/class_2552;)Lnet/minecraft/class_226;
      named getBlockEntity Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
    • method_13314

      @Nullable public BlockEntity method_13314(BlockPos blockPos, Chunk.Status status)
      Mappings:
      Namespace Name Mixin selector
      official a Land;a(Let;Laxw$a;)Lavj;
      intermediary method_13314 Lnet/minecraft/class_1164;method_13314(Lnet/minecraft/class_2552;Lnet/minecraft/class_1196$class_2251;)Lnet/minecraft/class_226;
      named method_13314 Lnet/minecraft/world/chunk/ChunkCache;method_13314(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/Chunk$Status;)Lnet/minecraft/block/entity/BlockEntity;
    • getLight

      @Environment(CLIENT) public int getLight(BlockPos pos, int minBlockLight)
      Specified by:
      getLight in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official b Lamy;b(Let;I)I
      intermediary method_8578 Lnet/minecraft/class_1158;method_8578(Lnet/minecraft/class_2552;I)I
      named getLight Lnet/minecraft/world/BlockView;getLight(Lnet/minecraft/util/math/BlockPos;I)I
    • getBlockState

      public BlockState getBlockState(BlockPos pos)
      Specified by:
      getBlockState in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official o Lamy;o(Let;)Lawt;
      intermediary method_8580 Lnet/minecraft/class_1158;method_8580(Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named getBlockState Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • getBiome

      @Environment(CLIENT) public Biome getBiome(BlockPos pos)
      Specified by:
      getBiome in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official b Lamy;b(Let;)Lanh;
      intermediary method_8577 Lnet/minecraft/class_1158;method_8577(Lnet/minecraft/class_2552;)Lnet/minecraft/class_1170;
      named getBiome Lnet/minecraft/world/BlockView;getBiome(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/biome/Biome;
    • getLightAtPos

      @Environment(CLIENT) private int getLightAtPos(LightType type, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Land;a(Lana;Let;)I
      intermediary method_8585 Lnet/minecraft/class_1164;method_8585(Lnet/minecraft/class_1161;Lnet/minecraft/class_2552;)I
      named getLightAtPos Lnet/minecraft/world/chunk/ChunkCache;getLightAtPos(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)I
    • isAir

      public boolean isAir(BlockPos pos)
      Specified by:
      isAir in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official d Lamy;d(Let;)Z
      intermediary method_8579 Lnet/minecraft/class_1158;method_8579(Lnet/minecraft/class_2552;)Z
      named isAir Lnet/minecraft/world/BlockView;isAir(Lnet/minecraft/util/math/BlockPos;)Z
    • method_8586

      @Environment(CLIENT) public int method_8586(LightType type, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Land;b(Lana;Let;)I
      intermediary method_8586 Lnet/minecraft/class_1164;method_8586(Lnet/minecraft/class_1161;Lnet/minecraft/class_2552;)I
      named method_8586 Lnet/minecraft/world/chunk/ChunkCache;method_8586(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)I
    • getStrongRedstonePower

      public int getStrongRedstonePower(BlockPos pos, Direction direction)
      Specified by:
      getStrongRedstonePower in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official a Lamy;a(Let;Lfa;)I
      intermediary method_8576 Lnet/minecraft/class_1158;method_8576(Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named getStrongRedstonePower Lnet/minecraft/world/BlockView;getStrongRedstonePower(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • getGeneratorType

      @Environment(CLIENT) public LevelGeneratorType getGeneratorType()
      Specified by:
      getGeneratorType in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official N Lamy;N()Lamz;
      intermediary method_8575 Lnet/minecraft/class_1158;method_8575()Lnet/minecraft/class_1160;
      named getGeneratorType Lnet/minecraft/world/BlockView;getGeneratorType()Lnet/minecraft/world/level/LevelGeneratorType;