Package | Description |
---|---|
net.minecraft.item | |
net.minecraftforge.common |
Modifier and Type | Method and Description |
---|---|
EnumAction |
ItemStack.getItemUseAction() |
EnumAction |
ItemSword.getItemUseAction(ItemStack par1ItemStack)
returns the action that specifies what animation to play when the items is being used
|
EnumAction |
ItemFood.getItemUseAction(ItemStack par1ItemStack)
returns the action that specifies what animation to play when the items is being used
|
EnumAction |
ItemBucketMilk.getItemUseAction(ItemStack par1ItemStack)
returns the action that specifies what animation to play when the items is being used
|
EnumAction |
ItemPotion.getItemUseAction(ItemStack par1ItemStack)
returns the action that specifies what animation to play when the items is being used
|
EnumAction |
ItemBow.getItemUseAction(ItemStack par1ItemStack)
returns the action that specifies what animation to play when the items is being used
|
EnumAction |
Item.getItemUseAction(ItemStack par1ItemStack)
returns the action that specifies what animation to play when the items is being used
|
static EnumAction |
EnumAction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumAction[] |
EnumAction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static EnumAction |
EnumHelper.addAction(String name) |