public enum EmptyBlockReader extends java.lang.Enum<EmptyBlockReader> implements IBlockReader
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
BlockState |
getBlockState(BlockPos pos) |
IFluidState |
getFluidState(BlockPos pos) |
TileEntity |
getTileEntity(BlockPos pos) |
static EmptyBlockReader |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmptyBlockReader[] |
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, valueOf
func_217300_a, getHeight, getLightValue, getMaxLightLevel, rayTraceBlocks, rayTraceBlocks
public static final EmptyBlockReader INSTANCE
public static EmptyBlockReader[] values()
for (EmptyBlockReader c : EmptyBlockReader.values()) System.out.println(c);
public static EmptyBlockReader valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Nullable public TileEntity getTileEntity(BlockPos pos)
getTileEntity
in interface IBlockReader
public BlockState getBlockState(BlockPos pos)
getBlockState
in interface IBlockReader
public IFluidState getFluidState(BlockPos pos)
getFluidState
in interface IBlockReader