public static enum VolumeUtil.Cone extends java.lang.Enum<VolumeUtil.Cone> implements VolumeUtil.VolumeProducer
Modifier and Type | Method and Description |
---|---|
java.util.List<VolumeUtil.VisiblePos> |
getVolume(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos start,
net.minecraft.util.EnumFacing direction,
int distance) |
static VolumeUtil.Cone |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VolumeUtil.Cone[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VolumeUtil.Cone SQUARE
public static final VolumeUtil.Cone PYRAMID
public static VolumeUtil.Cone[] values()
for (VolumeUtil.Cone c : VolumeUtil.Cone.values()) System.out.println(c);
public static VolumeUtil.Cone 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 java.util.List<VolumeUtil.VisiblePos> getVolume(net.minecraft.world.World world, net.minecraft.util.math.BlockPos start, net.minecraft.util.EnumFacing direction, int distance)
getVolume
in interface VolumeUtil.VolumeProducer