public class ItemFishFood extends ItemFood
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemFishFood.FishType |
Item.ToolMaterialitemUseDurationbFull3D, canRepair, delegate, hasSubtypes, itemModifierUUID, itemRand, itemRegistry, maxStackSize| Constructor and Description |
|---|
ItemFishFood(boolean cooked) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHealAmount(ItemStack stack) |
java.lang.String |
getPotionEffect(ItemStack stack) |
float |
getSaturationModifier(ItemStack stack) |
void |
getSubItems(Item itemIn,
CreativeTabs tab,
java.util.List subItems) |
java.lang.String |
getUnlocalizedName(ItemStack stack) |
protected void |
onFoodEaten(ItemStack stack,
World worldIn,
EntityPlayer player) |
getItemUseAction, getMaxItemUseDuration, isWolfsFavoriteMeat, onItemRightClick, onItemUseFinish, setAlwaysEdible, setPotionEffectaddInformation, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getMaxDamage, getMaxDamage, getMetadata, getMetadata, getModel, getMovingObjectPositionFromPlayer, getRarity, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, 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, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setUnlocalizedName, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTpublic int getHealAmount(ItemStack stack)
getHealAmount in class ItemFoodpublic float getSaturationModifier(ItemStack stack)
getSaturationModifier in class ItemFoodpublic java.lang.String getPotionEffect(ItemStack stack)
getPotionEffect in class Itemprotected void onFoodEaten(ItemStack stack, World worldIn, EntityPlayer player)
onFoodEaten in class ItemFoodpublic void getSubItems(Item itemIn, CreativeTabs tab, java.util.List subItems)
getSubItems in class Itempublic java.lang.String getUnlocalizedName(ItemStack stack)
getUnlocalizedName in class Item