public class ItemSeedFood extends ItemFood implements IPlantable
Item.ToolMaterial
itemUseDuration
bFull3D, canRepair, delegate, field_111210_e, hasSubtypes, iconString, itemIcon, itemRand, itemRegistry, maxStackSize
Constructor and Description |
---|
ItemSeedFood(int p_i45351_1_,
float p_i45351_2_,
Block p_i45351_3_,
Block p_i45351_4_) |
Modifier and Type | Method and Description |
---|---|
Block |
getPlant(IBlockAccess world,
int x,
int y,
int z) |
int |
getPlantMetadata(IBlockAccess world,
int x,
int y,
int z) |
EnumPlantType |
getPlantType(IBlockAccess world,
int x,
int y,
int z) |
boolean |
onItemUse(ItemStack p_77648_1_,
EntityPlayer p_77648_2_,
World p_77648_3_,
int p_77648_4_,
int p_77648_5_,
int p_77648_6_,
int p_77648_7_,
float p_77648_8_,
float p_77648_9_,
float p_77648_10_) |
func_150905_g, func_150906_h, getItemUseAction, getMaxItemUseDuration, isWolfsFavoriteMeat, onEaten, onFoodEaten, onItemRightClick, setAlwaysEdible, setPotionEffect
addInformation, canHarvestBlock, 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, getIconString, 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, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, registerIcons, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering, showDurabilityBar
public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_)
public EnumPlantType getPlantType(IBlockAccess world, int x, int y, int z)
getPlantType
in interface IPlantable
public Block getPlant(IBlockAccess world, int x, int y, int z)
getPlant
in interface IPlantable
public int getPlantMetadata(IBlockAccess world, int x, int y, int z)
getPlantMetadata
in interface IPlantable