Class ChunkRendererRegion
java.lang.Object
net.minecraft.client.render.chunk.ChunkRendererRegion
- All Implemented Interfaces:
BlockRenderView
,BlockView
,HeightLimitView
- Mappings:
Namespace Name official ero
intermediary net/minecraft/class_853
named net/minecraft/client/render/chunk/ChunkRendererRegion
-
Field Summary
Modifier and TypeFieldDescriptionprotected final WorldChunk[][]
protected final int
protected final int
protected final World
-
Constructor Summary
ConstructorDescriptionChunkRendererRegion
(World world, int chunkX, int chunkZ, WorldChunk[][] chunks) -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ChunkRendererRegion
getBlockEntity
(BlockPos pos) getBlockEntity
(BlockPos pos, WorldChunk.CreationType creationType) getBlockState
(BlockPos pos) 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) int
static boolean
isEmptyBetween
(BlockPos from, BlockPos to, int int2, int int3, WorldChunk[][] chunks) 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, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Field Details
-
chunkXOffset
protected final int chunkXOffset- Mappings:
Namespace Name Mixin selector official a
Lero;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
Lero;b: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 c
Lero;c:[[Lcqb;
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;
-
world
- Mappings:
Namespace Name Mixin selector official d
Lero;d:Lbzw;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lero;<init>(Lbzw;II[[Lcqb;)V
intermediary <init>
Lnet/minecraft/class_853;<init>(Lnet/minecraft/class_1937;II[[Lnet/minecraft/class_2818;)V
named <init>
Lnet/minecraft/client/render/chunk/ChunkRendererRegion;<init>(Lnet/minecraft/world/World;II[[Lnet/minecraft/world/chunk/WorldChunk;)V
-
-
Method Details
-
create
@Nullable public static @Nullable ChunkRendererRegion create(World world, BlockPos startPos, BlockPos endPos, int chunkRadius) - Mappings:
Namespace Name Mixin selector official a
Lero;a(Lbzw;Lgh;Lgh;I)Lero;
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;
-
isEmptyBetween
public static boolean isEmptyBetween(BlockPos from, BlockPos to, int int2, int int3, WorldChunk[][] chunks) - Mappings:
Namespace Name Mixin selector official a
Lero;a(Lgh;Lgh;II[[Lcqb;)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 isEmptyBetween
Lnet/minecraft/client/render/chunk/ChunkRendererRegion;isEmptyBetween(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;II[[Lnet/minecraft/world/chunk/WorldChunk;)Z
-
getBlockState
- Specified by:
getBlockState
in interfaceBlockView
- Mappings:
Namespace Name Mixin selector official a_
Lbzc;a_(Lgh;)Lcnv;
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
- Specified by:
getFluidState
in interfaceBlockView
- Mappings:
Namespace Name Mixin selector official b_
Lbzc;b_(Lgh;)Ldhi;
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:
getBrightness
in interfaceBlockRenderView
- Mappings:
Namespace Name Mixin selector official a
Lbyz;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
- Specified by:
getLightingProvider
in interfaceBlockRenderView
- Mappings:
Namespace Name Mixin selector official l_
Lbyz;l_()Ldgz;
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
- Specified by:
getBlockEntity
in interfaceBlockView
- Mappings:
Namespace Name Mixin selector official c_
Lbzc;c_(Lgh;)Lcls;
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 @Nullable BlockEntity getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType) - Mappings:
Namespace Name Mixin selector official a
Lero;a(Lgh;Lcqb$b;)Lcls;
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
- Specified by:
getColor
in interfaceBlockRenderView
- Mappings:
Namespace Name Mixin selector official a
Lbyz;a(Lgh;Lbzh;)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 interfaceHeightLimitView
- See Also:
- Mappings:
Namespace Name Mixin selector official u_
Lbzy;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 interfaceHeightLimitView
- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
Namespace Name Mixin selector official v_
Lbzy;v_()I
intermediary method_31605
Lnet/minecraft/class_5539;method_31605()I
named getHeight
Lnet/minecraft/world/HeightLimitView;getHeight()I
-