public class ItemFishFood extends ItemFood
Modifier and Type | Class and Description |
---|---|
static class |
ItemFishFood.FishType |
Item.ToolMaterial
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
itemUseDuration
ATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRY
delegate
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) |
java.lang.String |
getUnlocalizedName(ItemStack stack) |
protected void |
onFoodEaten(ItemStack stack,
World worldIn,
EntityPlayer player) |
getItemUseAction, getMaxItemUseDuration, isWolfsFavoriteMeat, onItemRightClick, onItemUseFinish, setAlwaysEdible, setPotionEffect
addInformation, addPropertyOverride, canApplyAtEnchantingTable, 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, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public int getHealAmount(ItemStack stack)
getHealAmount
in class ItemFood
public float getSaturationModifier(ItemStack stack)
getSaturationModifier
in class ItemFood
protected void onFoodEaten(ItemStack stack, World worldIn, EntityPlayer player)
onFoodEaten
in class ItemFood
public void getSubItems(Item itemIn, CreativeTabs tab, NonNullList<ItemStack> subItems)
getSubItems
in class Item
public java.lang.String getUnlocalizedName(ItemStack stack)
getUnlocalizedName
in class Item