Class RenderChunkRegion
java.lang.Object
net.minecraft.client.renderer.chunk.RenderChunkRegion
- All Implemented Interfaces:
BlockAndTintGetter,BlockGetter,LevelHeightAccessor,IForgeBlockGetter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRenderChunkRegion(Level p_200456_, int p_200457_, int p_200458_, RenderChunk[][] p_200459_) -
Method Summary
Modifier and TypeMethodDescriptiongetBlockEntity(BlockPos p_112945_) getBlockState(BlockPos p_112947_) intgetBlockTint(BlockPos p_112937_, ColorResolver p_112938_) getFluidState(BlockPos p_112943_) intintfloatMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.BlockAndTintGetter
canSeeSky, getBrightness, getRawBrightnessMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntityMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Field Details
-
centerX
private final int centerX -
centerZ
private final int centerZ -
chunks
-
level
-
-
Constructor Details
-
RenderChunkRegion
RenderChunkRegion(Level p_200456_, int p_200457_, int p_200458_, RenderChunk[][] p_200459_)
-
-
Method Details
-
getBlockState
- Specified by:
getBlockStatein interfaceBlockGetter
-
getFluidState
- Specified by:
getFluidStatein interfaceBlockGetter
-
getShade
- Specified by:
getShadein interfaceBlockAndTintGetter
-
getLightEngine
- Specified by:
getLightEnginein interfaceBlockAndTintGetter
-
getBlockEntity
- Specified by:
getBlockEntityin interfaceBlockGetter
-
getBlockTint
- Specified by:
getBlockTintin interfaceBlockAndTintGetter
-
getMinBuildHeight
public int getMinBuildHeight()- Specified by:
getMinBuildHeightin interfaceLevelHeightAccessor
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceLevelHeightAccessor
-