Class ChunkRenderCache

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

@Environment(CLIENT) public class ChunkRenderCache extends ChunkCache
Mappings:
Namespace Name
official cja
intermediary net/minecraft/class_2396
named net/minecraft/client/world/ChunkRenderCache
  • Field Details

    • DEFAULT_STATE

      private static final BlockState DEFAULT_STATE
      Mappings:
      Namespace Name Mixin selector
      official f Lcja;f:Lbec;
      intermediary field_10661 Lnet/minecraft/class_2396;field_10661:Lnet/minecraft/class_2232;
      named DEFAULT_STATE Lnet/minecraft/client/world/ChunkRenderCache;DEFAULT_STATE:Lnet/minecraft/block/BlockState;
    • startPos

      private final BlockPos startPos
      Mappings:
      Namespace Name Mixin selector
      official g Lcja;g:Ldt;
      intermediary field_10662 Lnet/minecraft/class_2396;field_10662:Lnet/minecraft/class_2552;
      named startPos Lnet/minecraft/client/world/ChunkRenderCache;startPos:Lnet/minecraft/util/math/BlockPos;
    • field_10663

      private int[] field_10663
      Mappings:
      Namespace Name Mixin selector
      official h Lcja;h:[I
      intermediary field_10663 Lnet/minecraft/class_2396;field_10663:[I
      named field_10663 Lnet/minecraft/client/world/ChunkRenderCache;field_10663:[I
    • field_10664

      private BlockState[] field_10664
      Mappings:
      Namespace Name Mixin selector
      official i Lcja;i:[Lbec;
      intermediary field_10664 Lnet/minecraft/class_2396;field_10664:[Lnet/minecraft/class_2232;
      named field_10664 Lnet/minecraft/client/world/ChunkRenderCache;field_10664:[Lnet/minecraft/block/BlockState;
  • Constructor Details

    • ChunkRenderCache

      public ChunkRenderCache(World world, BlockPos minPos, BlockPos maxPos, int offset)
      Mappings:
      Namespace Name Mixin selector
      official <init> Larj;<init>(Laqu;Ldt;Ldt;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

    • getBlockEntity

      public BlockEntity getBlockEntity(BlockPos pos)
      Specified by:
      getBlockEntity in interface BlockView
      Overrides:
      getBlockEntity in class ChunkCache
      Mappings:
      Namespace Name Mixin selector
      official s Lard;s(Ldt;)Lbcm;
      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

      public int getLight(BlockPos pos, int minBlockLight)
      Specified by:
      getLight in interface BlockView
      Overrides:
      getLight in class ChunkCache
      Mappings:
      Namespace Name Mixin selector
      official b Lard;b(Ldt;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
      Overrides:
      getBlockState in class ChunkCache
      Mappings:
      Namespace Name Mixin selector
      official p Lard;p(Ldt;)Lbec;
      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;
    • method_9764

      private BlockState method_9764(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official c Lcja;c(Ldt;)Lbec;
      intermediary method_9764 Lnet/minecraft/class_2396;method_9764(Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named method_9764 Lnet/minecraft/client/world/ChunkRenderCache;method_9764(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • method_9765

      private int method_9765(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official e Lcja;e(Ldt;)I
      intermediary method_9765 Lnet/minecraft/class_2396;method_9765(Lnet/minecraft/class_2552;)I
      named method_9765 Lnet/minecraft/client/world/ChunkRenderCache;method_9765(Lnet/minecraft/util/math/BlockPos;)I