protected static enum GermSlotAPI.MinecraftSlotFactory extends java.lang.Enum<GermSlotAPI.MinecraftSlotFactory>
Enum Constant and Description |
---|
ARMOR_BOOTS |
ARMOR_CHESTPLATE |
ARMOR_HELMET |
ARMOR_LEGGINGS |
MAIN_HAND |
OFF_HAND |
Modifier and Type | Method and Description |
---|---|
com.germ.germplugin.api.GermSlotAPI.MCSlotFactory |
getMcSlotFactory() |
static org.bukkit.inventory.ItemStack |
getMinecraftSlot(org.bukkit.entity.Player player,
java.lang.String type) |
java.lang.String |
getType() |
static boolean |
isMinecraftSlot(java.lang.String type) |
static GermSlotAPI.MinecraftSlotFactory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GermSlotAPI.MinecraftSlotFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GermSlotAPI.MinecraftSlotFactory MAIN_HAND
public static final GermSlotAPI.MinecraftSlotFactory OFF_HAND
public static final GermSlotAPI.MinecraftSlotFactory ARMOR_HELMET
public static final GermSlotAPI.MinecraftSlotFactory ARMOR_CHESTPLATE
public static final GermSlotAPI.MinecraftSlotFactory ARMOR_LEGGINGS
public static final GermSlotAPI.MinecraftSlotFactory ARMOR_BOOTS
public static GermSlotAPI.MinecraftSlotFactory[] values()
for (GermSlotAPI.MinecraftSlotFactory c : GermSlotAPI.MinecraftSlotFactory.values()) System.out.println(c);
public static GermSlotAPI.MinecraftSlotFactory 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.lang.String getType()
public com.germ.germplugin.api.GermSlotAPI.MCSlotFactory getMcSlotFactory()
public static org.bukkit.inventory.ItemStack getMinecraftSlot(org.bukkit.entity.Player player, java.lang.String type)
public static boolean isMinecraftSlot(java.lang.String type)