类 RenderChunkRegion
java.lang.Object
net.minecraft.client.renderer.chunk.RenderChunkRegion
- 所有已实现的接口:
BlockAndTintGetter
,BlockGetter
,LevelHeightAccessor
,IForgeBlockAndTintGetter
,IForgeBlockGetter
-
字段概要
字段修饰符和类型字段说明protected final RenderChunk[]
protected final Level
private final int
private final int
static final int
static final int
从接口继承的字段 net.minecraft.world.level.BlockGetter
MAX_BLOCK_ITERATIONS_ALONG_TRAVEL
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getBlockEntity
(BlockPos p_112945_) getBlockState
(BlockPos p_112947_) int
getBlockTint
(BlockPos p_112937_, ColorResolver p_112938_) private RenderChunk
getChunk
(int p_344830_, int p_345301_) getFluidState
(BlockPos p_112943_) int
int
getMinY()
Retrieves the model data manager for this level.float
getShade
(float normalX, float normalY, float normalZ, boolean shade) Computes the shade for a given normal.float
static int
index
(int p_345383_, int p_342744_, int p_343921_, int p_343462_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.BlockAndTintGetter
canSeeSky, getBrightness, getRawBrightness
从接口继承的方法 net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, isBlockInLine
从接口继承的方法 net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntity
从接口继承的方法 net.minecraft.world.level.LevelHeightAccessor
getMaxSectionY, getMaxY, getMinSectionY, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isInsideBuildHeight, isOutsideBuildHeight, isOutsideBuildHeight
-
字段详细资料
-
RADIUS
public static final int RADIUS- 另请参阅:
-
SIZE
public static final int SIZE- 另请参阅:
-
minChunkX
private final int minChunkX -
minChunkZ
private final int minChunkZ -
chunks
-
level
-
-
构造器详细资料
-
RenderChunkRegion
RenderChunkRegion(Level p_200456_, int p_200457_, int p_200458_, RenderChunk[] p_342584_)
-
-
方法详细资料
-
getBlockState
- 指定者:
getBlockState
在接口中BlockGetter
-
getFluidState
- 指定者:
getFluidState
在接口中BlockGetter
-
getShade
- 指定者:
getShade
在接口中BlockAndTintGetter
-
getLightEngine
- 指定者:
getLightEngine
在接口中BlockAndTintGetter
-
getBlockEntity
- 指定者:
getBlockEntity
在接口中BlockGetter
-
getChunk
-
getBlockTint
- 指定者:
getBlockTint
在接口中BlockAndTintGetter
-
getMinY
public int getMinY()- 指定者:
getMinY
在接口中LevelHeightAccessor
-
getHeight
public int getHeight()- 指定者:
getHeight
在接口中LevelHeightAccessor
-
index
public static int index(int p_345383_, int p_342744_, int p_343921_, int p_343462_) -
getShade
public float getShade(float normalX, float normalY, float normalZ, boolean shade) 从接口复制的说明:IForgeBlockAndTintGetter
Computes the shade for a given normal. Alternate version of the vanilla method taking in aDirection
.- 指定者:
getShade
在接口中IForgeBlockAndTintGetter
-
getModelDataManager
从接口复制的说明:IForgeBlockGetter
Retrieves the model data manager for this level. This will benull
on a server level.- 指定者:
getModelDataManager
在接口中IForgeBlockGetter
-