public class ItemFishFood extends ItemFood
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemFishFood.FishType |
Item.ToolMaterialIForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>itemUseDurationATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRYdelegate| Constructor and Description |
|---|
ItemFishFood(boolean cooked) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHealAmount(ItemStack stack) |
float |
getSaturationModifier(ItemStack stack) |
void |
getSubItems(Item itemIn,
CreativeTabs tab,
NonNullList<ItemStack> subItems)
returns a list of items with the same ID, but different meta (eg: dye returns 16 items)
|
java.lang.String |
getUnlocalizedName(ItemStack stack)
Returns the unlocalized name of this item.
|
protected void |
onFoodEaten(ItemStack stack,
World worldIn,
EntityPlayer player) |
getItemUseAction, getMaxItemUseDuration, isWolfsFavoriteMeat, onItemRightClick, onItemUseFinish, setAlwaysEdible, setPotionEffectaddInformation, addPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDefaultInstance, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getMaxDamage, getMaxDamage, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic int getHealAmount(ItemStack stack)
getHealAmount in class ItemFoodpublic float getSaturationModifier(ItemStack stack)
getSaturationModifier in class ItemFoodprotected void onFoodEaten(ItemStack stack, World worldIn, EntityPlayer player)
onFoodEaten in class ItemFoodpublic void getSubItems(Item itemIn, CreativeTabs tab, NonNullList<ItemStack> subItems)
getSubItems in class Itempublic java.lang.String getUnlocalizedName(ItemStack stack)
getUnlocalizedName in class Item