public class ItemSeedFood extends ItemFood implements IPlantable
Item.ToolMaterialitemUseDurationbFull3D, canRepair, 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 par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10) |
func_150905_g, func_150906_h, getItemUseAction, getMaxItemUseDuration, isWolfsFavoriteMeat, onEaten, onFoodEaten, onItemRightClick, setAlwaysEdible, setPotionEffectaddInformation, 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, 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, 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, showDurabilityBarpublic boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
public EnumPlantType getPlantType(IBlockAccess world, int x, int y, int z)
getPlantType in interface IPlantablepublic Block getPlant(IBlockAccess world, int x, int y, int z)
getPlant in interface IPlantablepublic int getPlantMetadata(IBlockAccess world, int x, int y, int z)
getPlantMetadata in interface IPlantable