public static enum IsiHourglassItem.HourGlassType extends java.lang.Enum<IsiHourglassItem.HourGlassType>
Modifier and Type | Method and Description |
---|---|
abstract boolean |
handle(net.minecraft.entity.player.ServerPlayerEntity player,
int clicked,
int... boxes) |
static IsiHourglassItem.HourGlassType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IsiHourglassItem.HourGlassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsiHourglassItem.HourGlassType COPPER
public static final IsiHourglassItem.HourGlassType SILVER
public static final IsiHourglassItem.HourGlassType GOLD
public static final IsiHourglassItem.HourGlassType DIAMOND
public static IsiHourglassItem.HourGlassType[] values()
for (IsiHourglassItem.HourGlassType c : IsiHourglassItem.HourGlassType.values()) System.out.println(c);
public static IsiHourglassItem.HourGlassType 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 abstract boolean handle(net.minecraft.entity.player.ServerPlayerEntity player, int clicked, int... boxes)