public class DarkenedApple extends ConfigurableItemFood
eConfig| Constructor and Description |
|---|
DarkenedApple(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig) |
| Modifier and Type | Method and Description |
|---|---|
static DarkenedApple |
getInstance()
Get the unique instance.
|
int |
getMaxItemUseDuration(net.minecraft.item.ItemStack itemStack) |
boolean |
itemInteractionForEntity(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.entity.EntityLivingBase entity) |
addInformation, getConfiggetHealAmount, getItemUseAction, getSaturationModifier, isWolfsFavoriteMeat, onFoodEaten, onItemRightClick, onItemUseFinish, setAlwaysEdible, setPotionEffectcanHarvestBlock, 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, getPotionEffect, getRarity, getShareTag, getSmeltingExperience, getStrVsBlock, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, 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, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTpublic DarkenedApple(org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.ItemConfig> eConfig)
public static DarkenedApple getInstance()
public int getMaxItemUseDuration(net.minecraft.item.ItemStack itemStack)
getMaxItemUseDuration in class net.minecraft.item.ItemFoodpublic boolean itemInteractionForEntity(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.entity.EntityLivingBase entity)
itemInteractionForEntity in class net.minecraft.item.Item