public class ItemFishFood extends ItemFood
Modifier and Type | Class and Description |
---|---|
static class |
ItemFishFood.FishType |
Item.ToolMaterial
itemUseDuration
bFull3D, canRepair, 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 par1) |
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 par1ItemStack) |
protected void |
onFoodEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer) |
void |
registerIcons(IIconRegister par1IconRegister) |
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, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getMaxDamage, getMaxDamage, getMetadata, getMovingObjectPositionFromPlayer, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getSpriteNumber, getToolClasses, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hasEffect, hitEntity, 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 par1IconRegister)
registerIcons
in class Item
protected void onFoodEaten(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
onFoodEaten
in class ItemFood
public IIcon getIconFromDamage(int par1)
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 par1ItemStack)
getUnlocalizedName
in class Item