Class ChunkRendererRegion

java.lang.Object
net.minecraft.client.render.chunk.ChunkRendererRegion
All Implemented Interfaces:
BlockRenderView, BlockView, HeightLimitView

@Environment(CLIENT) public class ChunkRendererRegion extends Object implements BlockRenderView
Mappings:
Namespace Name
official esc
intermediary net/minecraft/class_853
named net/minecraft/client/render/chunk/ChunkRendererRegion
  • Field Details

    • chunkXOffset

      private final int chunkXOffset
      Mappings:
      Namespace Name Mixin selector
      official c Lesc;c:I
      intermediary field_4488 Lnet/minecraft/class_853;field_4488:I
      named chunkXOffset Lnet/minecraft/client/render/chunk/ChunkRendererRegion;chunkXOffset:I
    • chunkZOffset

      private final int chunkZOffset
      Mappings:
      Namespace Name Mixin selector
      official d Lesc;d:I
      intermediary field_4487 Lnet/minecraft/class_853;field_4487:I
      named chunkZOffset Lnet/minecraft/client/render/chunk/ChunkRendererRegion;chunkZOffset:I
    • chunks

      protected final RenderedChunk[][] chunks
      Mappings:
      Namespace Name Mixin selector
      official a Lesc;a:[[Lesb;
      intermediary field_4483 Lnet/minecraft/class_853;field_4483:[[Lnet/minecraft/class_6849;
      named chunks Lnet/minecraft/client/render/chunk/ChunkRendererRegion;chunks:[[Lnet/minecraft/client/render/chunk/RenderedChunk;
    • world

      protected final World world
      Mappings:
      Namespace Name Mixin selector
      official b Lesc;b:Lcad;
      intermediary field_4490 Lnet/minecraft/class_853;field_4490:Lnet/minecraft/class_1937;
      named world Lnet/minecraft/client/render/chunk/ChunkRendererRegion;world:Lnet/minecraft/world/World;
  • Constructor Details

    • ChunkRendererRegion

      ChunkRendererRegion(World world, int chunkX, int chunkZ, RenderedChunk[][] chunks)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lesc;<init>(Lcad;II[[Lesb;)V
      intermediary <init> Lnet/minecraft/class_853;<init>(Lnet/minecraft/class_1937;II[[Lnet/minecraft/class_6849;)V
      named <init> Lnet/minecraft/client/render/chunk/ChunkRendererRegion;<init>(Lnet/minecraft/world/World;II[[Lnet/minecraft/client/render/chunk/RenderedChunk;)V
  • Method Details

    • getBlockState

      public BlockState getBlockState(BlockPos pos)
      Specified by:
      getBlockState in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbzj;a_(Lgh;)Lcoc;
      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_ Lbzj;b_(Lgh;)Ldhv;
      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;
    • getBrightness

      public float getBrightness(Direction direction, boolean shaded)
      Specified by:
      getBrightness in interface BlockRenderView
      Mappings:
      Namespace Name Mixin selector
      official a Lbzg;a(Lgm;Z)F
      intermediary method_24852 Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)F
      named getBrightness Lnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)F
    • getLightingProvider

      public LightingProvider getLightingProvider()
      Specified by:
      getLightingProvider in interface BlockRenderView
      Mappings:
      Namespace Name Mixin selector
      official l_ Lbzg;l_()Ldhm;
      intermediary method_22336 Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;
      named getLightingProvider Lnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
    • getBlockEntity

      @Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos)
      Specified by:
      getBlockEntity in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official c_ Lbzj;c_(Lgh;)Lclz;
      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;
    • getColor

      public int getColor(BlockPos pos, ColorResolver colorResolver)
      Specified by:
      getColor in interface BlockRenderView
      Mappings:
      Namespace Name Mixin selector
      official a Lbzg;a(Lgh;Lbzo;)I
      intermediary method_23752 Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/class_6539;)I
      named getColor Lnet/minecraft/world/BlockRenderView;getColor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/level/ColorResolver;)I
    • getBottomY

      public int getBottomY()
      Returns the bottom Y level, or height, inclusive, of this view.
      Specified by:
      getBottomY in interface HeightLimitView
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official u_ Lcaf;u_()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:
      Mappings:
      Namespace Name Mixin selector
      official v_ Lcaf;v_()I
      intermediary method_31605 Lnet/minecraft/class_5539;method_31605()I
      named getHeight Lnet/minecraft/world/HeightLimitView;getHeight()I