Class MovingBlockRenderState
java.lang.Object
net.minecraft.client.renderer.block.MovingBlockRenderState
- All Implemented Interfaces:
BlockAndTintGetter, BlockAndLightGetter, BlockGetter, LevelHeightAccessor, IBlockGetterExtension
-
Nested Class Summary
Nested classes/interfaces inherited from interface BlockGetter
BlockGetter.BlockStepVisitor -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from interface BlockAndTintGetter
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable BlockEntitygetBlockEntity(BlockPos pos) getBlockState(BlockPos pos) intgetBlockTint(BlockPos pos, ColorResolver color) getFluidState(BlockPos pos) intintgetMinY()getModelData(BlockPos pos) Retrieves model data for a block at the given position.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BlockAndLightGetter
canSeeSky, getBrightness, getRawBrightnessMethods inherited from interface BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, isBlockInLineMethods inherited from interface IBlockGetterExtension
getAuxLightManager, getAuxLightManager
-
Field Details
-
randomSeedPos
-
blockPos
-
blockState
-
biome
-
cardinalLighting
-
lightEngine
-
modelData
-
-
Constructor Details
-
MovingBlockRenderState
public MovingBlockRenderState()
-
-
Method Details
-
cardinalLighting
- Specified by:
cardinalLightingin interfaceBlockAndTintGetter
-
getLightEngine
- Specified by:
getLightEnginein interfaceBlockAndLightGetter
-
getBlockTint
- Specified by:
getBlockTintin interfaceBlockAndTintGetter
-
getBlockEntity
- Specified by:
getBlockEntityin interfaceBlockGetter
-
getBlockState
- Specified by:
getBlockStatein interfaceBlockGetter
-
getFluidState
- Specified by:
getFluidStatein interfaceBlockGetter
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceLevelHeightAccessor
-
getMinY
public int getMinY()- Specified by:
getMinYin interfaceLevelHeightAccessor
-
getModelData
Description copied from interface:IBlockGetterExtensionRetrieves model data for a block at the given position.- Specified by:
getModelDatain interfaceIBlockGetterExtension- Parameters:
pos- the position to query- Returns:
- the model data at this position, or
ModelData.EMPTYif none exists
-