Class ChunkRenderCache

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

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

    • DEFAULT_STATE

      private static final BlockState DEFAULT_STATE
      Mappings:
      Namespace Name Mixin selector
      official f Lbff;f:Lalz;
      intermediary field_4213 Lnet/minecraft/class_1005;field_4213:Lnet/minecraft/class_376;
      named DEFAULT_STATE Lnet/minecraft/client/world/ChunkRenderCache;DEFAULT_STATE:Lnet/minecraft/block/BlockState;
    • field_4214

      private final BlockPos field_4214
      Mappings:
      Namespace Name Mixin selector
      official g Lbff;g:Lcj;
      intermediary field_4214 Lnet/minecraft/class_1005;field_4214:Lnet/minecraft/class_1372;
      named field_4214 Lnet/minecraft/client/world/ChunkRenderCache;field_4214:Lnet/minecraft/util/math/BlockPos;
    • field_4215

      private int[] field_4215
      Mappings:
      Namespace Name Mixin selector
      official h Lbff;h:[I
      intermediary field_4215 Lnet/minecraft/class_1005;field_4215:[I
      named field_4215 Lnet/minecraft/client/world/ChunkRenderCache;field_4215:[I
    • field_4216

      private BlockState[] field_4216
      Mappings:
      Namespace Name Mixin selector
      official i Lbff;i:[Lalz;
      intermediary field_4216 Lnet/minecraft/class_1005;field_4216:[Lnet/minecraft/class_376;
      named field_4216 Lnet/minecraft/client/world/ChunkRenderCache;field_4216:[Lnet/minecraft/block/BlockState;
  • Constructor Details

    • ChunkRenderCache

      public ChunkRenderCache​(World world, BlockPos startPos, BlockPos endPos, int int2)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ladv;<init>(Ladm;Lcj;Lcj;I)V
      intermediary <init> Lnet/minecraft/class_110;<init>(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_1372;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 WorldView
      Overrides:
      getBlockEntity in class ChunkCache
      Mappings:
      Namespace Name Mixin selector
      official s Ladq;s(Lcj;)Lakw;
      intermediary method_484 Lnet/minecraft/class_104;method_484(Lnet/minecraft/class_1372;)Lnet/minecraft/class_348;
      named getBlockEntity Lnet/minecraft/world/WorldView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
    • getLight

      public int getLight​(BlockPos pos, int minBlockLight)
      Specified by:
      getLight in interface WorldView
      Overrides:
      getLight in class ChunkCache
      Mappings:
      Namespace Name Mixin selector
      official b Ladq;b(Lcj;I)I
      intermediary method_481 Lnet/minecraft/class_104;method_481(Lnet/minecraft/class_1372;I)I
      named getLight Lnet/minecraft/world/WorldView;getLight(Lnet/minecraft/util/math/BlockPos;I)I
    • getBlockState

      public BlockState getBlockState​(BlockPos pos)
      Specified by:
      getBlockState in interface WorldView
      Overrides:
      getBlockState in class ChunkCache
      Mappings:
      Namespace Name Mixin selector
      official p Ladq;p(Lcj;)Lalz;
      intermediary method_483 Lnet/minecraft/class_104;method_483(Lnet/minecraft/class_1372;)Lnet/minecraft/class_376;
      named getBlockState Lnet/minecraft/world/WorldView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • method_3341

      private BlockState method_3341​(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official c Lbff;c(Lcj;)Lalz;
      intermediary method_3341 Lnet/minecraft/class_1005;method_3341(Lnet/minecraft/class_1372;)Lnet/minecraft/class_376;
      named method_3341 Lnet/minecraft/client/world/ChunkRenderCache;method_3341(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • method_3342

      private int method_3342​(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official e Lbff;e(Lcj;)I
      intermediary method_3342 Lnet/minecraft/class_1005;method_3342(Lnet/minecraft/class_1372;)I
      named method_3342 Lnet/minecraft/client/world/ChunkRenderCache;method_3342(Lnet/minecraft/util/math/BlockPos;)I