public class ItemFishFood extends ItemFood
Modifier and Type | Class and Description |
---|---|
static class |
ItemFishFood.FishType |
Item.ToolMaterial
itemUseDuration
bFull3D, delegate, field_111210_e, hasSubtypes, iconString, itemIcon, itemRand, itemRegistry, maxStackSize
Constructor and Description |
---|
ItemFishFood(boolean p_i45338_1_) |
Modifier and Type | Method and Description |
---|---|
int |
func_150905_g(ItemStack p_150905_1_) |
float |
func_150906_h(ItemStack p_150906_1_) |
IIcon |
getIconFromDamage(int p_77617_1_) |
java.lang.String |
getPotionEffect(ItemStack p_150896_1_) |
void |
getSubItems(Item p_150895_1_,
CreativeTabs p_150895_2_,
java.util.List p_150895_3_) |
java.lang.String |
getUnlocalizedName(ItemStack p_77667_1_) |
protected void |
onFoodEaten(ItemStack p_77849_1_,
World p_77849_2_,
EntityPlayer p_77849_3_) |
void |
registerIcons(IIconRegister p_94581_1_) |
getItemUseAction, getMaxItemUseDuration, isWolfsFavoriteMeat, onEaten, onItemRightClick, setAlwaysEdible, setPotionEffect
addInformation, canItemEditBlocks, doesContainerItemLeaveCraftingGrid, func_150893_a, func_150897_b, getColorFromItemStack, getContainerItem, getCreativeTab, getHasSubtypes, getIconFromDamageForRenderPass, getIconIndex, getIconString, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getMaxDamage, getMetadata, getMovingObjectPositionFromPlayer, getRarity, getShareTag, getSpriteNumber, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasEffect, hitEntity, isDamageable, isFull3D, isItemTool, isMap, isPotionIngredient, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemUse, onPlayerStoppedUsing, onUpdate, registerItems, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering
public int func_150905_g(ItemStack p_150905_1_)
func_150905_g
in class ItemFood
public float func_150906_h(ItemStack p_150906_1_)
func_150906_h
in class ItemFood
public java.lang.String getPotionEffect(ItemStack p_150896_1_)
getPotionEffect
in class Item
public void registerIcons(IIconRegister p_94581_1_)
registerIcons
in class Item
protected void onFoodEaten(ItemStack p_77849_1_, World p_77849_2_, EntityPlayer p_77849_3_)
onFoodEaten
in class ItemFood
public IIcon getIconFromDamage(int p_77617_1_)
getIconFromDamage
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 java.lang.String getUnlocalizedName(ItemStack p_77667_1_)
getUnlocalizedName
in class Item