public final class VerticalBlockSample extends Object implements BlockView
| Modifier and Type | Field and Description |
|---|---|
private BlockState[] |
states |
| Constructor and Description |
|---|
VerticalBlockSample(BlockState[] states) |
| Modifier and Type | Method and Description |
|---|---|
BlockEntity |
getBlockEntity(BlockPos pos) |
BlockState |
getBlockState(BlockPos pos) |
int |
getBottomSectionLimit() |
FluidState |
getFluidState(BlockPos pos) |
int |
getSectionCount() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, method_29546, raycast, raycast, raycastBlockgetBottomHeightLimit, getHeight, getSection, getSectionIndex, getSectionIndexFromSection, getTopHeightLimit, getTopSectionLimit, isOutOfHeightLimit, isOutOfHeightLimitprivate final BlockState[] states
public VerticalBlockSample(BlockState[] states)
@Nullable public BlockEntity getBlockEntity(BlockPos pos)
getBlockEntity in interface BlockViewpublic BlockState getBlockState(BlockPos pos)
getBlockState in interface BlockViewpublic FluidState getFluidState(BlockPos pos)
getFluidState in interface BlockViewpublic int getSectionCount()
getSectionCount in interface HeightLimitViewpublic int getBottomSectionLimit()
getBottomSectionLimit in interface HeightLimitView