Class ChunkRendererRegion
java.lang.Object
net.minecraft.client.render.chunk.ChunkRendererRegion
- All Implemented Interfaces:
BlockRenderView
,BlockView
,HeightLimitView
- Mappings:
Namespace Name named net/minecraft/client/render/chunk/ChunkRendererRegion
intermediary net/minecraft/class_853
official hbf
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.BlockView
BlockView.CollisionVisitor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final int
private final int
static final int
private final RenderedChunk[]
static final int
private final World
Fields inherited from interface net.minecraft.world.BlockView
field_54147
-
Constructor Summary
ConstructorsConstructorDescriptionChunkRendererRegion
(World world, int baseX, int baseY, int baseZ, RenderedChunk[] renderedChunks) -
Method Summary
Modifier and TypeMethodDescriptiongetBlockEntity
(BlockPos pos) Returns the block entity atpos
, ornull
if there is none.getBlockState
(BlockPos pos) Returns the block state atpos
.int
Returns the bottom Y level, or height, inclusive, of this view.float
getBrightness
(Direction direction, boolean shaded) int
getColor
(BlockPos pos, ColorResolver colorResolver) getFluidState
(BlockPos pos) Returns the fluid state atpos
.int
static int
getIndex
(int xOffset, int yOffset, int zOffset, int sectionX, int sectionY, int sectionZ) private RenderedChunk
getRenderedChunk
(int sectionX, int sectionY, int sectionZ) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getLightLevel, isSkyVisible
Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getDismountHeight, getDismountHeight, getLuminance, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopYInclusive, isInHeightLimit, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Field Details
-
field_52160
public static final int field_52160- See Also:
- Mappings:
Namespace Name Mixin selector named field_52160
Lnet/minecraft/client/render/chunk/ChunkRendererRegion;field_52160:I
intermediary field_52160
Lnet/minecraft/class_853;field_52160:I
official a
Lhbf;a:I
-
SIDE_LENGTH_CHUNKS
public static final int SIDE_LENGTH_CHUNKS- See Also:
- Mappings:
Namespace Name Mixin selector named SIDE_LENGTH_CHUNKS
Lnet/minecraft/client/render/chunk/ChunkRendererRegion;SIDE_LENGTH_CHUNKS:I
intermediary field_52161
Lnet/minecraft/class_853;field_52161:I
official b
Lhbf;b:I
-
baseX
private final int baseX- Mappings:
Namespace Name Mixin selector named baseX
Lnet/minecraft/client/render/chunk/ChunkRendererRegion;baseX:I
intermediary field_60943
Lnet/minecraft/class_853;field_60943:I
official c
Lhbf;c:I
-
baseY
private final int baseY- Mappings:
Namespace Name Mixin selector named baseY
Lnet/minecraft/client/render/chunk/ChunkRendererRegion;baseY:I
intermediary field_60944
Lnet/minecraft/class_853;field_60944:I
official d
Lhbf;d:I
-
baseZ
private final int baseZ- Mappings:
Namespace Name Mixin selector named baseZ
Lnet/minecraft/client/render/chunk/ChunkRendererRegion;baseZ:I
intermediary field_60945
Lnet/minecraft/class_853;field_60945:I
official e
Lhbf;e:I
-
renderedChunks
- Mappings:
Namespace Name Mixin selector named renderedChunks
Lnet/minecraft/client/render/chunk/ChunkRendererRegion;renderedChunks:[Lnet/minecraft/client/render/chunk/RenderedChunk;
intermediary field_60946
Lnet/minecraft/class_853;field_60946:[Lnet/minecraft/class_6849;
official f
Lhbf;f:[Lhbi;
-
world
- Mappings:
Namespace Name Mixin selector named world
Lnet/minecraft/client/render/chunk/ChunkRendererRegion;world:Lnet/minecraft/world/World;
intermediary field_4490
Lnet/minecraft/class_853;field_4490:Lnet/minecraft/class_1937;
official h
Lhbf;h:Ldmu;
-
-
Constructor Details
-
ChunkRendererRegion
ChunkRendererRegion(World world, int baseX, int baseY, int baseZ, RenderedChunk[] renderedChunks) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/chunk/ChunkRendererRegion;<init>(Lnet/minecraft/world/World;III[Lnet/minecraft/client/render/chunk/RenderedChunk;)V
intermediary <init>
Lnet/minecraft/class_853;<init>(Lnet/minecraft/class_1937;III[Lnet/minecraft/class_6849;)V
official <init>
Lhbf;<init>(Ldmu;III[Lhbi;)V
-
-
Method Details
-
getBlockState
Returns the block state atpos
.- Specified by:
getBlockState
in interfaceBlockView
- Returns:
- the block state at
pos
- Implementation Note:
- This returns the block state for
Blocks.VOID_AIR
if the Y coordinate is outside the height limit. - Mappings:
Namespace Name Mixin selector named getBlockState
Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
intermediary method_8320
Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
official a_
Ldly;a_(Ljb;)Leeb;
-
getFluidState
Returns the fluid state atpos
.- Specified by:
getFluidState
in interfaceBlockView
- Returns:
- the fluid state at
pos
- Implementation Note:
- This returns the fluid state for
Fluids.EMPTY
if the Y coordinate is outside the height limit. - Mappings:
Namespace Name Mixin selector named getFluidState
Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
intermediary method_8316
Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;
official b_
Ldly;b_(Ljb;)Lfal;
-
getBrightness
- Specified by:
getBrightness
in interfaceBlockRenderView
- Mappings:
Namespace Name Mixin selector named getBrightness
Lnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)F
intermediary method_24852
Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)F
official a
Ldlv;a(Ljh;Z)F
-
getLightingProvider
- Specified by:
getLightingProvider
in interfaceBlockRenderView
- Mappings:
Namespace Name Mixin selector named getLightingProvider
Lnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
intermediary method_22336
Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;
official C_
Ldlv;C_()Lfaa;
-
getBlockEntity
Returns the block entity atpos
, ornull
if there is none.- Specified by:
getBlockEntity
in interfaceBlockView
- Returns:
- the block entity at
pos
, ornull
if there is none - Mappings:
Namespace Name Mixin selector named getBlockEntity
Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
intermediary method_8321
Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
official c_
Ldly;c_(Ljb;)Leaz;
-
getRenderedChunk
- Mappings:
Namespace Name Mixin selector named getRenderedChunk
Lnet/minecraft/client/render/chunk/ChunkRendererRegion;getRenderedChunk(III)Lnet/minecraft/client/render/chunk/RenderedChunk;
intermediary method_72044
Lnet/minecraft/class_853;method_72044(III)Lnet/minecraft/class_6849;
official a
Lhbf;a(III)Lhbi;
-
getColor
- Specified by:
getColor
in interfaceBlockRenderView
- Mappings:
Namespace Name Mixin selector named getColor
Lnet/minecraft/world/BlockRenderView;getColor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/ColorResolver;)I
intermediary method_23752
Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/class_6539;)I
official a
Ldlv;a(Ljb;Ldme;)I
-
getBottomY
public int getBottomY()Returns the bottom Y level, or height, inclusive, of this view.- Specified by:
getBottomY
in interfaceHeightLimitView
- See Also:
- Mappings:
Namespace Name Mixin selector named getBottomY
Lnet/minecraft/world/HeightLimitView;getBottomY()I
intermediary method_31607
Lnet/minecraft/class_5539;method_31607()I
official L_
Ldmw;L_()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 interfaceHeightLimitView
- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
Namespace Name Mixin selector named getHeight
Lnet/minecraft/world/HeightLimitView;getHeight()I
intermediary method_31605
Lnet/minecraft/class_5539;method_31605()I
official M_
Ldmw;M_()I
-
getIndex
public static int getIndex(int xOffset, int yOffset, int zOffset, int sectionX, int sectionY, int sectionZ) - Mappings:
Namespace Name Mixin selector named getIndex
Lnet/minecraft/client/render/chunk/ChunkRendererRegion;getIndex(IIIIII)I
intermediary method_60899
Lnet/minecraft/class_853;method_60899(IIIIII)I
official a
Lhbf;a(IIIIII)I
-