Class ChunkRendererRegion
java.lang.Object
net.minecraft.client.render.chunk.ChunkRendererRegion
- All Implemented Interfaces:
BlockRenderView,BlockView,HeightLimitView
- Mappings:
Namespace Name official escintermediary net/minecraft/class_853named net/minecraft/client/render/chunk/ChunkRendererRegion
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final RenderedChunk[][]private final intprivate final intprotected final World -
Constructor Summary
ConstructorsConstructorDescriptionChunkRendererRegion(World world, int chunkX, int chunkZ, RenderedChunk[][] chunks) -
Method Summary
Modifier and TypeMethodDescriptiongetBlockEntity(BlockPos pos) getBlockState(BlockPos pos) intReturns the bottom Y level, or height, inclusive, of this view.floatgetBrightness(Direction direction, boolean shaded) intgetColor(BlockPos pos, ColorResolver colorResolver) getFluidState(BlockPos pos) intMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Field Details
-
chunkXOffset
private final int chunkXOffset- Mappings:
Namespace Name Mixin selector official cLesc;c:Iintermediary field_4488Lnet/minecraft/class_853;field_4488:Inamed chunkXOffsetLnet/minecraft/client/render/chunk/ChunkRendererRegion;chunkXOffset:I
-
chunkZOffset
private final int chunkZOffset- Mappings:
Namespace Name Mixin selector official dLesc;d:Iintermediary field_4487Lnet/minecraft/class_853;field_4487:Inamed chunkZOffsetLnet/minecraft/client/render/chunk/ChunkRendererRegion;chunkZOffset:I
-
chunks
- Mappings:
Namespace Name Mixin selector official aLesc;a:[[Lesb;intermediary field_4483Lnet/minecraft/class_853;field_4483:[[Lnet/minecraft/class_6849;named chunksLnet/minecraft/client/render/chunk/ChunkRendererRegion;chunks:[[Lnet/minecraft/client/render/chunk/RenderedChunk;
-
world
- Mappings:
Namespace Name Mixin selector official bLesc;b:Lcad;intermediary field_4490Lnet/minecraft/class_853;field_4490:Lnet/minecraft/class_1937;named worldLnet/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;)Vintermediary <init>Lnet/minecraft/class_853;<init>(Lnet/minecraft/class_1937;II[[Lnet/minecraft/class_6849;)Vnamed <init>Lnet/minecraft/client/render/chunk/ChunkRendererRegion;<init>(Lnet/minecraft/world/World;II[[Lnet/minecraft/client/render/chunk/RenderedChunk;)V
-
-
Method Details
-
getBlockState
- Specified by:
getBlockStatein interfaceBlockView- Mappings:
Namespace Name Mixin selector official a_Lbzj;a_(Lgh;)Lcoc;intermediary method_8320Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getBlockStateLnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getFluidState
- Specified by:
getFluidStatein interfaceBlockView- Mappings:
Namespace Name Mixin selector official b_Lbzj;b_(Lgh;)Ldhv;intermediary method_8316Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
-
getBrightness
- Specified by:
getBrightnessin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector official aLbzg;a(Lgm;Z)Fintermediary method_24852Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)Fnamed getBrightnessLnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)F
-
getLightingProvider
- Specified by:
getLightingProviderin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector official l_Lbzg;l_()Ldhm;intermediary method_22336Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;named getLightingProviderLnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
-
getBlockEntity
- Specified by:
getBlockEntityin interfaceBlockView- Mappings:
Namespace Name Mixin selector official c_Lbzj;c_(Lgh;)Lclz;intermediary method_8321Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;named getBlockEntityLnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
-
getColor
- Specified by:
getColorin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector official aLbzg;a(Lgh;Lbzo;)Iintermediary method_23752Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/class_6539;)Inamed getColorLnet/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:
getBottomYin interfaceHeightLimitView- See Also:
- Mappings:
Namespace Name Mixin selector official u_Lcaf;u_()Iintermediary method_31607Lnet/minecraft/class_5539;method_31607()Inamed getBottomYLnet/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:
getHeightin interfaceHeightLimitView- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
Namespace Name Mixin selector official v_Lcaf;v_()Iintermediary method_31605Lnet/minecraft/class_5539;method_31605()Inamed getHeightLnet/minecraft/world/HeightLimitView;getHeight()I
-