public static enum RayTraceContext.BlockMode extends java.lang.Enum<RayTraceContext.BlockMode> implements RayTraceContext.IVoxelProvider
Modifier and Type | Field and Description |
---|---|
private RayTraceContext.IVoxelProvider |
provider |
Modifier and Type | Method and Description |
---|---|
VoxelShape |
get(BlockState p_get_1_,
IBlockReader p_get_2_,
BlockPos p_get_3_,
ISelectionContext p_get_4_) |
static RayTraceContext.BlockMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RayTraceContext.BlockMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RayTraceContext.BlockMode COLLIDER
public static final RayTraceContext.BlockMode OUTLINE
private final RayTraceContext.IVoxelProvider provider
public static RayTraceContext.BlockMode[] values()
for (RayTraceContext.BlockMode c : RayTraceContext.BlockMode.values()) System.out.println(c);
public static RayTraceContext.BlockMode 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 nullpublic VoxelShape get(BlockState p_get_1_, IBlockReader p_get_2_, BlockPos p_get_3_, ISelectionContext p_get_4_)
get
in interface RayTraceContext.IVoxelProvider