protected static enum GermSlotAPI.MinecraftSlotConsumer extends java.lang.Enum<GermSlotAPI.MinecraftSlotConsumer>
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.MCSlotConsumer |
getMcSlotConsumer() |
java.lang.String |
getType() |
static void |
setMinecraftSlot(org.bukkit.entity.Player player,
java.lang.String slotIdentity,
org.bukkit.inventory.ItemStack itemStack) |
static GermSlotAPI.MinecraftSlotConsumer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GermSlotAPI.MinecraftSlotConsumer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GermSlotAPI.MinecraftSlotConsumer MAIN_HAND
public static final GermSlotAPI.MinecraftSlotConsumer OFF_HAND
public static final GermSlotAPI.MinecraftSlotConsumer ARMOR_HELMET
public static final GermSlotAPI.MinecraftSlotConsumer ARMOR_CHESTPLATE
public static final GermSlotAPI.MinecraftSlotConsumer ARMOR_LEGGINGS
public static final GermSlotAPI.MinecraftSlotConsumer ARMOR_BOOTS
public static GermSlotAPI.MinecraftSlotConsumer[] values()
for (GermSlotAPI.MinecraftSlotConsumer c : GermSlotAPI.MinecraftSlotConsumer.values()) System.out.println(c);
public static GermSlotAPI.MinecraftSlotConsumer 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.MCSlotConsumer getMcSlotConsumer()
public static void setMinecraftSlot(org.bukkit.entity.Player player, java.lang.String slotIdentity, org.bukkit.inventory.ItemStack itemStack)