public class ItemAppleGold extends ItemFood
Item.ToolMaterialitemUseDurationbFull3D, hasSubtypes, itemModifierUUID, itemRand, itemRegistry, maxStackSize| Constructor and Description |
|---|
ItemAppleGold(int amount,
float saturation,
boolean isWolfFood) |
| Modifier and Type | Method and Description |
|---|---|
EnumRarity |
getRarity(ItemStack stack)
Return an item rarity from EnumRarity
|
void |
getSubItems(Item itemIn,
CreativeTabs tab,
java.util.List<ItemStack> subItems)
returns a list of items with the same ID, but different meta (eg: dye returns 16 items)
|
boolean |
hasEffect(ItemStack stack) |
protected void |
onFoodEaten(ItemStack stack,
World worldIn,
EntityPlayer player) |
getHealAmount, getItemUseAction, getMaxItemUseDuration, getSaturationModifier, isWolfsFavoriteMeat, onItemRightClick, onItemUseFinish, setAlwaysEdible, setPotionEffectaddInformation, canHarvestBlock, canItemEditBlocks, getByNameOrId, getColorFromItemStack, getContainerItem, getCreativeTab, getHasSubtypes, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getMaxDamage, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getShareTag, getStrVsBlock, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hitEntity, isDamageable, isFull3D, isItemTool, isMap, isPotionIngredient, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemUse, onPlayerStoppedUsing, onUpdate, registerItemBlock, registerItems, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, setUnlocalizedName, shouldRotateAroundWhenRendering, updateItemStackNBTpublic ItemAppleGold(int amount,
float saturation,
boolean isWolfFood)
public EnumRarity getRarity(ItemStack stack)
protected void onFoodEaten(ItemStack stack, World worldIn, EntityPlayer player)
onFoodEaten in class ItemFoodpublic void getSubItems(Item itemIn, CreativeTabs tab, java.util.List<ItemStack> subItems)
getSubItems in class Item