public class ItemFood extends Item
Item.ToolMaterial
Modifier and Type | Field and Description |
---|---|
int |
itemUseDuration |
bFull3D, delegate, field_111210_e, hasSubtypes, iconString, itemIcon, itemRand, itemRegistry, maxStackSize
Constructor and Description |
---|
ItemFood(int p_i45340_1_,
boolean p_i45340_2_) |
ItemFood(int p_i45339_1_,
float p_i45339_2_,
boolean p_i45339_3_) |
Modifier and Type | Method and Description |
---|---|
int |
func_150905_g(ItemStack p_150905_1_) |
float |
func_150906_h(ItemStack p_150906_1_) |
EnumAction |
getItemUseAction(ItemStack p_77661_1_) |
int |
getMaxItemUseDuration(ItemStack p_77626_1_) |
boolean |
isWolfsFavoriteMeat() |
ItemStack |
onEaten(ItemStack p_77654_1_,
World p_77654_2_,
EntityPlayer p_77654_3_) |
protected void |
onFoodEaten(ItemStack p_77849_1_,
World p_77849_2_,
EntityPlayer p_77849_3_) |
ItemStack |
onItemRightClick(ItemStack p_77659_1_,
World p_77659_2_,
EntityPlayer p_77659_3_) |
ItemFood |
setAlwaysEdible() |
ItemFood |
setPotionEffect(int p_77844_1_,
int p_77844_2_,
int p_77844_3_,
float p_77844_4_) |
addInformation, canItemEditBlocks, doesContainerItemLeaveCraftingGrid, func_150893_a, func_150897_b, getColorFromItemStack, getContainerItem, getCreativeTab, getHasSubtypes, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIconString, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getMaxDamage, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getSpriteNumber, getSubItems, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasEffect, hitEntity, isDamageable, isFull3D, isItemTool, isMap, isPotionIngredient, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemUse, onPlayerStoppedUsing, onUpdate, registerIcons, registerItems, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering
public ItemFood(int p_i45339_1_, float p_i45339_2_, boolean p_i45339_3_)
public ItemFood(int p_i45340_1_, boolean p_i45340_2_)
public ItemStack onEaten(ItemStack p_77654_1_, World p_77654_2_, EntityPlayer p_77654_3_)
protected void onFoodEaten(ItemStack p_77849_1_, World p_77849_2_, EntityPlayer p_77849_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 int func_150905_g(ItemStack p_150905_1_)
public float func_150906_h(ItemStack p_150906_1_)
public boolean isWolfsFavoriteMeat()
public ItemFood setPotionEffect(int p_77844_1_, int p_77844_2_, int p_77844_3_, float p_77844_4_)
public ItemFood setAlwaysEdible()