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 aic
intermediary net/minecraft/class_1164
named net/minecraft/world/chunk/ChunkCache
  • Field Details

    • minX

      protected int minX
      Mappings:
      Namespace Name Mixin selector
      official a Laic;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 Laic;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 Laic;c:[[Lasf;
      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 Laic;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 Laic;e:Laht;
      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> Laic;<init>(Laht;Lcl;Lcl;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

    • isEmpty

      @Environment(CLIENT) public boolean isEmpty()
      Specified by:
      isEmpty in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official aa Lahx;aa()Z
      intermediary method_3772 Lnet/minecraft/class_1158;method_3772()Z
      named isEmpty Lnet/minecraft/world/BlockView;isEmpty()Z
    • getBlockEntity

      @Nullable public BlockEntity getBlockEntity(BlockPos pos)
      Specified by:
      getBlockEntity in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official r Lahx;r(Lcl;)Lapv;
      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;
    • getLight

      @Environment(CLIENT) public int getLight(BlockPos pos, int minBlockLight)
      Specified by:
      getLight in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official b Lahx;b(Lcl;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 Lahx;o(Lcl;)Lard;
      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 Lahx;b(Lcl;)Laig;
      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 Laic;a(Lahz;Lcl;)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 Lahx;d(Lcl;)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 Laic;b(Lahz;Lcl;)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 Lahx;a(Lcl;Lcs;)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 L Lahx;L()Lahy;
      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;