Class ChunkRendererRegion
java.lang.Object
net.minecraft.client.render.chunk.ChunkRendererRegion
- All Implemented Interfaces:
- BlockRenderView,- BlockView,- HeightLimitView
- Mappings:
- Namespace - Name - official - fmr- intermediary - net/minecraft/class_853- named - net/minecraft/client/render/chunk/ChunkRendererRegion
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final RenderedChunk[][]private final intprivate final intprotected final World
- 
Constructor SummaryConstructorsConstructorDescriptionChunkRendererRegion(World world, int chunkX, int chunkZ, RenderedChunk[][] chunks) 
- 
Method SummaryModifier and TypeMethodDescriptiongetBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.getBlockState(BlockPos pos) Returns the block state atpos.intReturns the bottom Y level, or height, inclusive, of this view.floatgetBrightness(Direction direction, boolean shaded) intgetColor(BlockPos pos, ColorResolver colorResolver) getFluidState(BlockPos pos) Returns the fluid state atpos.intMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockRenderViewgetBaseLightLevel, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockViewgetBlockEntity, getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.HeightLimitViewcountVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
- 
Field Details- 
chunkXOffsetprivate final int chunkXOffset- Mappings:
- Namespace - Name - Mixin selector - official - c- Lfmr;c:I- intermediary - field_4488- Lnet/minecraft/class_853;field_4488:I- named - chunkXOffset- Lnet/minecraft/client/render/chunk/ChunkRendererRegion;chunkXOffset:I
 
- 
chunkZOffsetprivate final int chunkZOffset- Mappings:
- Namespace - Name - Mixin selector - official - d- Lfmr;d:I- intermediary - field_4487- Lnet/minecraft/class_853;field_4487:I- named - chunkZOffset- Lnet/minecraft/client/render/chunk/ChunkRendererRegion;chunkZOffset:I
 
- 
chunks- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfmr;a:[[Lfmq;- 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- Mappings:
- Namespace - Name - Mixin selector - official - b- Lfmr;b:Lcmm;- 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- 
ChunkRendererRegionChunkRendererRegion(World world, int chunkX, int chunkZ, RenderedChunk[][] chunks) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lfmr;<init>(Lcmm;II[[Lfmq;)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- 
getBlockStateReturns the block state atpos.- Specified by:
- getBlockStatein interface- BlockView
- Returns:
- the block state at pos
- Mappings:
- Namespace - Name - Mixin selector - official - a_- Lcls;a_(Lgu;)Ldcb;- 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;
 
- 
getFluidStateReturns the fluid state atpos.- Specified by:
- getFluidStatein interface- BlockView
- Returns:
- the fluid state at pos
- Mappings:
- Namespace - Name - Mixin selector - official - b_- Lcls;b_(Lgu;)Ldxe;- 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- Specified by:
- getBrightnessin interface- BlockRenderView
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lclp;a(Lha;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- Specified by:
- getLightingProviderin interface- BlockRenderView
- Mappings:
- Namespace - Name - Mixin selector - official - s_- Lclp;s_()Ldwt;- 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;
 
- 
getBlockEntityReturns the block entity atpos, ornullif there is none.- Specified by:
- getBlockEntityin interface- BlockView
- Returns:
- the block entity at pos, ornullif there is none
- Mappings:
- Namespace - Name - Mixin selector - official - c_- Lcls;c_(Lgu;)Lczn;- 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- Specified by:
- getColorin interface- BlockRenderView
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lclp;a(Lgu;Lclx;)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/biome/ColorResolver;)I
 
- 
getBottomYpublic int getBottomY()Returns the bottom Y level, or height, inclusive, of this view.- Specified by:
- getBottomYin interface- HeightLimitView
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - C_- Lcmo;C_()I- intermediary - method_31607- Lnet/minecraft/class_5539;method_31607()I- named - getBottomY- Lnet/minecraft/world/HeightLimitView;getBottomY()I
 
- 
getHeightpublic 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:
- getHeightin interface- HeightLimitView
- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - D_- Lcmo;D_()I- intermediary - method_31605- Lnet/minecraft/class_5539;method_31605()I- named - getHeight- Lnet/minecraft/world/HeightLimitView;getHeight()I
 
 
-