public class ItemFishFood extends ItemFood
Modifier and Type | Class and Description |
---|---|
static class |
ItemFishFood.FishType |
Item.ToolMaterial
itemUseDuration
bFull3D, canRepair, 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, canHarvestBlock, canItemEditBlocks, createEntity, doesContainerItemLeaveCraftingGrid, doesSneakBypassUse, func_150893_a, func_150897_b, getArmorModel, getArmorTexture, getAttributeModifiers, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDisplayDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIcon, getIcon, getIconFromDamageForRenderPass, getIconIndex, getIconString, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getMaxDamage, getMaxDamage, getMetadata, getMovingObjectPositionFromPlayer, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getSpriteNumber, getToolClasses, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hasEffect, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering, showDurabilityBar
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