public enum EmptyBlockView extends Enum<EmptyBlockView> implements BlockView
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
BlockEntity |
getBlockEntity(BlockPos pos) |
BlockState |
getBlockState(BlockPos pos) |
int |
getBottomSectionLimit() |
FluidState |
getFluidState(BlockPos pos) |
int |
getSectionCount() |
static EmptyBlockView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmptyBlockView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, method_29546, raycast, raycast, raycastBlockgetBottomHeightLimit, getHeight, getSection, getSectionIndex, getSectionIndexFromSection, getTopHeightLimit, getTopSectionLimit, isOutOfHeightLimit, isOutOfHeightLimitpublic static final EmptyBlockView INSTANCE
public static EmptyBlockView[] values()
for (EmptyBlockView c : EmptyBlockView.values()) System.out.println(c);
public static EmptyBlockView valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@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