Package net.minecraft.world.gen.chunk
Class VerticalBlockSample
java.lang.Object
net.minecraft.world.gen.chunk.VerticalBlockSample
- All Implemented Interfaces:
BlockView,HeightLimitView
public final class VerticalBlockSample extends Object implements BlockView
-
Field Summary
Fields Modifier and Type Field Description private BlockState[]states -
Constructor Summary
Constructors Constructor Description VerticalBlockSample(BlockState[] states) -
Method Summary
Modifier and Type Method Description BlockEntitygetBlockEntity(BlockPos pos)BlockStategetBlockState(BlockPos pos)intgetBottomSectionLimit()FluidStategetFluidState(BlockPos pos)intgetSectionCount()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockView
getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, method_29546, raycast, raycastBlockMethods inherited from interface net.minecraft.world.HeightLimitView
getBottomHeightLimit, getHeight, getSection, getSectionIndex, getSectionIndexFromSection, getTopHeightLimit, getTopSectionLimit, isOutOfHeightLimit, isOutOfHeightLimit
-
Field Details
-
states
-
-
Constructor Details
-
VerticalBlockSample
-
-
Method Details
-
getBlockEntity
- Specified by:
getBlockEntityin interfaceBlockView
-
getBlockState
- Specified by:
getBlockStatein interfaceBlockView
-
getFluidState
- Specified by:
getFluidStatein interfaceBlockView
-
getSectionCount
public int getSectionCount()- Specified by:
getSectionCountin interfaceHeightLimitView
-
getBottomSectionLimit
public int getBottomSectionLimit()- Specified by:
getBottomSectionLimitin interfaceHeightLimitView
-