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) |
FluidState |
getFluidState(BlockPos pos) |
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, getHeight, getLuminance, getMaxLightLevel, method_29546, raycast, raycast, raycastBlockpublic 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 BlockView