public abstract class ConfigurableItemFood extends net.minecraft.item.ItemFood implements IConfigurable
| Modifier and Type | Field and Description |
|---|---|
protected ExtendedConfig |
eConfig |
| Modifier | Constructor and Description |
|---|---|
protected |
ConfigurableItemFood(ExtendedConfig eConfig,
int healAmount,
float saturationModifier,
boolean isWolfsFavoriteMeat)
Make a new block instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4) |
ExtendedConfig<?> |
getConfig() |
java.lang.String |
getIconString() |
void |
registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
func_150905_g, func_150906_h, getItemUseAction, getMaxItemUseDuration, isWolfsFavoriteMeat, onEaten, onFoodEaten, onItemRightClick, setAlwaysEdible, setPotionEffectcanHarvestBlock, canItemEditBlocks, createEntity, doesContainerItemLeaveCraftingGrid, doesSneakBypassUse, func_150893_a, func_150897_b, getArmorModel, getArmorTexture, getAttributeModifiers, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDisplayDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIcon, getIcon, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getMaxDamage, getMaxDamage, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getSpriteNumber, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hasEffect, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering, showDurabilityBarprotected ExtendedConfig eConfig
protected ConfigurableItemFood(ExtendedConfig eConfig, int healAmount, float saturationModifier, boolean isWolfsFavoriteMeat)
eConfig - Config for this block.healAmount - Amount of health to regen.saturationModifier - The modifier for the saturation.isWolfsFavoriteMeat - If this is wolf food.public ExtendedConfig<?> getConfig()
getConfig in interface IConfigurablepublic java.lang.String getIconString()
getIconString in class net.minecraft.item.Itempublic void registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister)
registerIcons in class net.minecraft.item.Itempublic void addInformation(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer entityPlayer,
java.util.List list,
boolean par4)
addInformation in class net.minecraft.item.Item