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 ekh
intermediary net/minecraft/class_853
named net/minecraft/client/render/chunk/ChunkRendererRegion
  • Field Details

    • chunkXOffset

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

      protected final int chunkZOffset
      Mappings:
      Namespace Name Mixin selector
      official b Lekh;b:I
      intermediary field_4487 Lnet/minecraft/class_853;field_4487:I
      named chunkZOffset Lnet/minecraft/client/render/chunk/ChunkRendererRegion;chunkZOffset:I
    • offset

      protected final BlockPos offset
      Mappings:
      Namespace Name Mixin selector
      official c Lekh;c:Lfx;
      intermediary field_4481 Lnet/minecraft/class_853;field_4481:Lnet/minecraft/class_2338;
      named offset Lnet/minecraft/client/render/chunk/ChunkRendererRegion;offset:Lnet/minecraft/util/math/BlockPos;
    • xSize

      protected final int xSize
      Mappings:
      Namespace Name Mixin selector
      official d Lekh;d:I
      intermediary field_4486 Lnet/minecraft/class_853;field_4486:I
      named xSize Lnet/minecraft/client/render/chunk/ChunkRendererRegion;xSize:I
    • ySize

      protected final int ySize
      Mappings:
      Namespace Name Mixin selector
      official e Lekh;e:I
      intermediary field_4484 Lnet/minecraft/class_853;field_4484:I
      named ySize Lnet/minecraft/client/render/chunk/ChunkRendererRegion;ySize:I
    • zSize

      protected final int zSize
      Mappings:
      Namespace Name Mixin selector
      official f Lekh;f:I
      intermediary field_4482 Lnet/minecraft/class_853;field_4482:I
      named zSize Lnet/minecraft/client/render/chunk/ChunkRendererRegion;zSize:I
    • chunks

      protected final WorldChunk[][] chunks
      Mappings:
      Namespace Name Mixin selector
      official g Lekh;g:[[Lcjw;
      intermediary field_4483 Lnet/minecraft/class_853;field_4483:[[Lnet/minecraft/class_2818;
      named chunks Lnet/minecraft/client/render/chunk/ChunkRendererRegion;chunks:[[Lnet/minecraft/world/chunk/WorldChunk;
    • blockStates

      protected final BlockState[] blockStates
      Mappings:
      Namespace Name Mixin selector
      official h Lekh;h:[Lcht;
      intermediary field_4489 Lnet/minecraft/class_853;field_4489:[Lnet/minecraft/class_2680;
      named blockStates Lnet/minecraft/client/render/chunk/ChunkRendererRegion;blockStates:[Lnet/minecraft/block/BlockState;
    • fluidStates

      protected final FluidState[] fluidStates
      Mappings:
      Namespace Name Mixin selector
      official i Lekh;i:[Ldal;
      intermediary field_4485 Lnet/minecraft/class_853;field_4485:[Lnet/minecraft/class_3610;
      named fluidStates Lnet/minecraft/client/render/chunk/ChunkRendererRegion;fluidStates:[Lnet/minecraft/fluid/FluidState;
    • world

      protected final World world
      Mappings:
      Namespace Name Mixin selector
      official j Lekh;j:Lbtv;
      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

      public ChunkRendererRegion​(World world, int chunkX, int chunkZ, WorldChunk[][] chunks, BlockPos startPos, BlockPos endPos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lekh;<init>(Lbtv;II[[Lcjw;Lfx;Lfx;)V
      intermediary <init> Lnet/minecraft/class_853;<init>(Lnet/minecraft/class_1937;II[[Lnet/minecraft/class_2818;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)V
      named <init> Lnet/minecraft/client/render/chunk/ChunkRendererRegion;<init>(Lnet/minecraft/world/World;II[[Lnet/minecraft/world/chunk/WorldChunk;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)V
  • Method Details

    • create

      @Nullable public static ChunkRendererRegion create​(World world, BlockPos startPos, BlockPos endPos, int chunkRadius)
      Mappings:
      Namespace Name Mixin selector
      official a Lekh;a(Lbtv;Lfx;Lfx;I)Lekh;
      intermediary method_3689 Lnet/minecraft/class_853;method_3689(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;I)Lnet/minecraft/class_853;
      named create Lnet/minecraft/client/render/chunk/ChunkRendererRegion;create(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;I)Lnet/minecraft/client/render/chunk/ChunkRendererRegion;
    • method_30000

      public static boolean method_30000​(BlockPos blockPos, BlockPos blockPos2, int int2, int int3, WorldChunk[][] worldChunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lekh;a(Lfx;Lfx;II[[Lcjw;)Z
      intermediary method_30000 Lnet/minecraft/class_853;method_30000(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;II[[Lnet/minecraft/class_2818;)Z
      named method_30000 Lnet/minecraft/client/render/chunk/ChunkRendererRegion;method_30000(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;II[[Lnet/minecraft/world/chunk/WorldChunk;)Z
    • getIndex

      protected final int getIndex​(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lekh;a(Lfx;)I
      intermediary method_3691 Lnet/minecraft/class_853;method_3691(Lnet/minecraft/class_2338;)I
      named getIndex Lnet/minecraft/client/render/chunk/ChunkRendererRegion;getIndex(Lnet/minecraft/util/math/BlockPos;)I
    • getIndex

      protected int getIndex​(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lekh;a(III)I
      intermediary method_3690 Lnet/minecraft/class_853;method_3690(III)I
      named getIndex Lnet/minecraft/client/render/chunk/ChunkRendererRegion;getIndex(III)I
    • getBlockState

      public BlockState getBlockState​(BlockPos pos)
      Specified by:
      getBlockState in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official d_ Lbsz;d_(Lfx;)Lcht;
      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 Lbsz;b(Lfx;)Ldal;
      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 Lbsx;a(Lgc;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 u_ Lbsx;u_()Ldac;
      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 BlockEntity getBlockEntity​(BlockPos pos)
      Specified by:
      getBlockEntity in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official c Lbsz;c(Lfx;)Lcfr;
      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;
    • getBlockEntity

      @Nullable public BlockEntity getBlockEntity​(BlockPos pos, WorldChunk.CreationType creationType)
      Mappings:
      Namespace Name Mixin selector
      official a Lekh;a(Lfx;Lcjw$b;)Lcfr;
      intermediary method_3688 Lnet/minecraft/class_853;method_3688(Lnet/minecraft/class_2338;Lnet/minecraft/class_2818$class_2819;)Lnet/minecraft/class_2586;
      named getBlockEntity Lnet/minecraft/client/render/chunk/ChunkRendererRegion;getBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/WorldChunk$CreationType;)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 Lbsx;a(Lfx;Lnet/minecraft/world/level/ColorResolver;)I
      intermediary method_23752 Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/world/level/ColorResolver;)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:
      HeightLimitView.getTopY(), HeightLimitView.getHeight()
      Mappings:
      Namespace Name Mixin selector
      official w_ Lbtx;w_()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:
      HeightLimitView.getBottomY(), HeightLimitView.getTopY()
      Mappings:
      Namespace Name Mixin selector
      official m Lbtx;m()I
      intermediary method_31605 Lnet/minecraft/class_5539;method_31605()I
      named getHeight Lnet/minecraft/world/HeightLimitView;getHeight()I