public class ItemAppleGold extends ItemFood
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 |
---|
ItemAppleGold(int amount,
float saturation,
boolean isWolfFood) |
Modifier and Type | Method and Description |
---|---|
EnumRarity |
getRarity(ItemStack stack) |
void |
getSubItems(Item itemIn,
CreativeTabs tab,
NonNullList<ItemStack> subItems) |
boolean |
hasEffect(ItemStack stack) |
protected void |
onFoodEaten(ItemStack stack,
World worldIn,
EntityPlayer player) |
getHealAmount, getItemUseAction, getMaxItemUseDuration, getSaturationModifier, 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, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, 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 ItemAppleGold(int amount, float saturation, boolean isWolfFood)
public EnumRarity getRarity(ItemStack stack)
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