public class ItemPotion extends Item
Item.ToolMaterial
bFull3D, delegate, field_111210_e, hasSubtypes, iconString, itemIcon, itemRand, itemRegistry, maxStackSize
Constructor and Description |
---|
ItemPotion() |
Modifier and Type | Method and Description |
---|---|
void |
addInformation(ItemStack p_77624_1_,
EntityPlayer p_77624_2_,
java.util.List p_77624_3_,
boolean p_77624_4_) |
static IIcon |
func_94589_d(java.lang.String p_94589_0_) |
int |
getColorFromDamage(int p_77620_1_) |
int |
getColorFromItemStack(ItemStack p_82790_1_,
int p_82790_2_) |
java.util.List |
getEffects(int p_77834_1_) |
java.util.List |
getEffects(ItemStack p_77832_1_) |
IIcon |
getIconFromDamage(int p_77617_1_) |
IIcon |
getIconFromDamageForRenderPass(int p_77618_1_,
int p_77618_2_) |
java.lang.String |
getItemStackDisplayName(ItemStack p_77653_1_) |
EnumAction |
getItemUseAction(ItemStack p_77661_1_) |
int |
getMaxItemUseDuration(ItemStack p_77626_1_) |
void |
getSubItems(Item p_150895_1_,
CreativeTabs p_150895_2_,
java.util.List p_150895_3_) |
boolean |
hasEffect(ItemStack p_77636_1_) |
boolean |
isEffectInstant(int p_77833_1_) |
static boolean |
isSplash(int p_77831_0_) |
ItemStack |
onEaten(ItemStack p_77654_1_,
World p_77654_2_,
EntityPlayer p_77654_3_) |
ItemStack |
onItemRightClick(ItemStack p_77659_1_,
World p_77659_2_,
EntityPlayer p_77659_3_) |
boolean |
onItemUse(ItemStack p_77648_1_,
EntityPlayer p_77648_2_,
World p_77648_3_,
int p_77648_4_,
int p_77648_5_,
int p_77648_6_,
int p_77648_7_,
float p_77648_8_,
float p_77648_9_,
float p_77648_10_) |
void |
registerIcons(IIconRegister p_94581_1_) |
boolean |
requiresMultipleRenderPasses() |
canItemEditBlocks, doesContainerItemLeaveCraftingGrid, func_150893_a, func_150897_b, getContainerItem, getCreativeTab, getHasSubtypes, getIconIndex, getIconString, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackLimit, getMaxDamage, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getSpriteNumber, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hitEntity, isDamageable, isFull3D, isItemTool, isMap, isPotionIngredient, itemInteractionForEntity, onBlockDestroyed, onCreated, onPlayerStoppedUsing, onUpdate, registerItems, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering
public java.util.List getEffects(ItemStack p_77832_1_)
public java.util.List getEffects(int p_77834_1_)
public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_)
public int getMaxItemUseDuration(ItemStack p_77626_1_)
getMaxItemUseDuration
in class Item
public EnumAction getItemUseAction(ItemStack p_77661_1_)
getItemUseAction
in class Item
public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_)
onItemRightClick
in class Item
public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_)
public IIcon getIconFromDamage(int p_77617_1_)
getIconFromDamage
in class Item
public IIcon getIconFromDamageForRenderPass(int p_77618_1_, int p_77618_2_)
getIconFromDamageForRenderPass
in class Item
public static boolean isSplash(int p_77831_0_)
public int getColorFromDamage(int p_77620_1_)
public int getColorFromItemStack(ItemStack p_82790_1_, int p_82790_2_)
getColorFromItemStack
in class Item
public boolean requiresMultipleRenderPasses()
requiresMultipleRenderPasses
in class Item
public boolean isEffectInstant(int p_77833_1_)
public java.lang.String getItemStackDisplayName(ItemStack p_77653_1_)
getItemStackDisplayName
in class Item
public void addInformation(ItemStack p_77624_1_, EntityPlayer p_77624_2_, java.util.List p_77624_3_, boolean p_77624_4_)
addInformation
in class Item
public void getSubItems(Item p_150895_1_, CreativeTabs p_150895_2_, java.util.List p_150895_3_)
getSubItems
in class Item
public void registerIcons(IIconRegister p_94581_1_)
registerIcons
in class Item
public static IIcon func_94589_d(java.lang.String p_94589_0_)