类 ChunkRendererRegion
- java.lang.Object
-
- net.minecraft.client.render.chunk.ChunkRendererRegion
-
- 所有已实现的接口:
BlockRenderView,BlockView,HeightLimitView
@Environment(CLIENT) public class ChunkRendererRegion extends Object implements BlockRenderView
- Mappings:
Namespace Name official eoqintermediary net/minecraft/class_853named net/minecraft/client/render/chunk/ChunkRendererRegion
-
-
字段概要
字段 修饰符和类型 字段 说明 protected BlockState[]blockStatesprotected WorldChunk[][]chunksprotected intchunkXOffsetprotected intchunkZOffsetprotected FluidState[]fluidStatesprotected BlockPosoffsetprotected Worldworldprotected intxSizeprotected intySizeprotected intzSize
-
构造器概要
构造器 构造器 说明 ChunkRendererRegion(World world, int chunkX, int chunkZ, WorldChunk[][] chunks, BlockPos startPos, BlockPos endPos)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static @Nullable ChunkRendererRegioncreate(World world, BlockPos startPos, BlockPos endPos, int chunkRadius)@Nullable BlockEntitygetBlockEntity(BlockPos pos)@Nullable BlockEntitygetBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)BlockStategetBlockState(BlockPos pos)intgetBottomY()Returns the bottom Y level, or height, inclusive, of this view.floatgetBrightness(Direction direction, boolean shaded)intgetColor(BlockPos pos, ColorResolver colorResolver)FluidStategetFluidState(BlockPos pos)intgetHeight()protected intgetIndex(int x, int y, int z)protected intgetIndex(BlockPos pos)LightingProvidergetLightingProvider()static booleanmethod_30000(BlockPos blockPos, BlockPos blockPos2, int int2, int int3, WorldChunk[][] worldChunk)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.world.BlockRenderView
getBaseLightLevel, getLightLevel, isSkyVisible
-
从接口继承的方法 net.minecraft.world.BlockView
getBlockEntity, getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
-
从接口继承的方法 net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
-
-
-
字段详细资料
-
chunkXOffset
protected final int chunkXOffset
- Mappings:
Namespace Name Mixin selector official aLeoq;a:Iintermediary field_4488Lnet/minecraft/class_853;field_4488:Inamed chunkXOffsetLnet/minecraft/client/render/chunk/ChunkRendererRegion;chunkXOffset:I
-
chunkZOffset
protected final int chunkZOffset
- Mappings:
Namespace Name Mixin selector official bLeoq;b:Iintermediary field_4487Lnet/minecraft/class_853;field_4487:Inamed chunkZOffsetLnet/minecraft/client/render/chunk/ChunkRendererRegion;chunkZOffset:I
-
offset
protected final BlockPos offset
- Mappings:
Namespace Name Mixin selector official cLeoq;c:Lgb;intermediary field_4481Lnet/minecraft/class_853;field_4481:Lnet/minecraft/class_2338;named offsetLnet/minecraft/client/render/chunk/ChunkRendererRegion;offset:Lnet/minecraft/util/math/BlockPos;
-
xSize
protected final int xSize
- Mappings:
Namespace Name Mixin selector official dLeoq;d:Iintermediary field_4486Lnet/minecraft/class_853;field_4486:Inamed xSizeLnet/minecraft/client/render/chunk/ChunkRendererRegion;xSize:I
-
ySize
protected final int ySize
- Mappings:
Namespace Name Mixin selector official eLeoq;e:Iintermediary field_4484Lnet/minecraft/class_853;field_4484:Inamed ySizeLnet/minecraft/client/render/chunk/ChunkRendererRegion;ySize:I
-
zSize
protected final int zSize
- Mappings:
Namespace Name Mixin selector official fLeoq;f:Iintermediary field_4482Lnet/minecraft/class_853;field_4482:Inamed zSizeLnet/minecraft/client/render/chunk/ChunkRendererRegion;zSize:I
-
chunks
protected final WorldChunk[][] chunks
- Mappings:
Namespace Name Mixin selector official gLeoq;g:[[Lclv;intermediary field_4483Lnet/minecraft/class_853;field_4483:[[Lnet/minecraft/class_2818;named chunksLnet/minecraft/client/render/chunk/ChunkRendererRegion;chunks:[[Lnet/minecraft/world/chunk/WorldChunk;
-
blockStates
protected final BlockState[] blockStates
- Mappings:
Namespace Name Mixin selector official hLeoq;h:[Lcjr;intermediary field_4489Lnet/minecraft/class_853;field_4489:[Lnet/minecraft/class_2680;named blockStatesLnet/minecraft/client/render/chunk/ChunkRendererRegion;blockStates:[Lnet/minecraft/block/BlockState;
-
fluidStates
protected final FluidState[] fluidStates
- Mappings:
Namespace Name Mixin selector official iLeoq;i:[Ldds;intermediary field_4485Lnet/minecraft/class_853;field_4485:[Lnet/minecraft/class_3610;named fluidStatesLnet/minecraft/client/render/chunk/ChunkRendererRegion;fluidStates:[Lnet/minecraft/fluid/FluidState;
-
world
protected final World world
- Mappings:
Namespace Name Mixin selector official jLeoq;j:Lbvr;intermediary field_4490Lnet/minecraft/class_853;field_4490:Lnet/minecraft/class_1937;named worldLnet/minecraft/client/render/chunk/ChunkRendererRegion;world:Lnet/minecraft/world/World;
-
-
构造器详细资料
-
ChunkRendererRegion
public ChunkRendererRegion(World world, int chunkX, int chunkZ, WorldChunk[][] chunks, BlockPos startPos, BlockPos endPos)
- Mappings:
Namespace Name Mixin selector official <init>Leoq;<init>(Lbvr;II[[Lclv;Lgb;Lgb;)Vintermediary <init>Lnet/minecraft/class_853;<init>(Lnet/minecraft/class_1937;II[[Lnet/minecraft/class_2818;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Vnamed <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
-
-
方法详细资料
-
create
@Nullable public static @Nullable ChunkRendererRegion create(World world, BlockPos startPos, BlockPos endPos, int chunkRadius)
- Mappings:
Namespace Name Mixin selector official aLeoq;a(Lbvr;Lgb;Lgb;I)Leoq;intermediary method_3689Lnet/minecraft/class_853;method_3689(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;I)Lnet/minecraft/class_853;named createLnet/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 aLeoq;a(Lgb;Lgb;II[[Lclv;)Zintermediary method_30000Lnet/minecraft/class_853;method_30000(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;II[[Lnet/minecraft/class_2818;)Znamed method_30000Lnet/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 aLeoq;a(Lgb;)Iintermediary method_3691Lnet/minecraft/class_853;method_3691(Lnet/minecraft/class_2338;)Inamed getIndexLnet/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 aLeoq;a(III)Iintermediary method_3690Lnet/minecraft/class_853;method_3690(III)Inamed getIndexLnet/minecraft/client/render/chunk/ChunkRendererRegion;getIndex(III)I
-
getBlockState
public BlockState getBlockState(BlockPos pos)
- 指定者:
getBlockState在接口中BlockView- Mappings:
Namespace Name Mixin selector official d_Lbuv;d_(Lgb;)Lcjr;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
public FluidState getFluidState(BlockPos pos)
- 指定者:
getFluidState在接口中BlockView- Mappings:
Namespace Name Mixin selector official bLbuv;b(Lgb;)Ldds;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
public float getBrightness(Direction direction, boolean shaded)
- 指定者:
getBrightness在接口中BlockRenderView- Mappings:
Namespace Name Mixin selector official aLbut;a(Lgg;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
public LightingProvider getLightingProvider()
- 指定者:
getLightingProvider在接口中BlockRenderView- Mappings:
Namespace Name Mixin selector official t_Lbut;t_()Lddj;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
@Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos)
- 指定者:
getBlockEntity在接口中BlockView- Mappings:
Namespace Name Mixin selector official cLbuv;c(Lgb;)Lchp;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;
-
getBlockEntity
@Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
- Mappings:
Namespace Name Mixin selector official aLeoq;a(Lgb;Lclv$b;)Lchp;intermediary method_3688Lnet/minecraft/class_853;method_3688(Lnet/minecraft/class_2338;Lnet/minecraft/class_2818$class_2819;)Lnet/minecraft/class_2586;named getBlockEntityLnet/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)
- 指定者:
getColor在接口中BlockRenderView- Mappings:
Namespace Name Mixin selector official aLbut;a(Lgb;Lnet/minecraft/world/level/ColorResolver;)Iintermediary method_23752Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/world/level/ColorResolver;)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.- 指定者:
getBottomY在接口中HeightLimitView- 另请参阅:
HeightLimitView.getTopY(),HeightLimitView.getHeight()- Mappings:
Namespace Name Mixin selector official v_Lbvt;v_()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.
- 指定者:
getHeight在接口中HeightLimitView- 返回:
- the difference in the minimum and maximum height
- 另请参阅:
HeightLimitView.getBottomY(),HeightLimitView.getTopY()- Mappings:
Namespace Name Mixin selector official mLbvt;m()Iintermediary method_31605Lnet/minecraft/class_5539;method_31605()Inamed getHeightLnet/minecraft/world/HeightLimitView;getHeight()I
-
-