YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
YATS.item.ItemSpanner Class Reference
Inheritance diagram for YATS.item.ItemSpanner:
net.minecraft.item.Item

Public Member Functions

 ItemSpanner (int id)
 
void registerIcons (IconRegister register)
 
boolean onItemUse (ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ)
 
- Public Member Functions inherited from net.minecraft.item.Item
 Item (int par1)
 
Item setMaxStackSize (int par1)
 
int getSpriteNumber ()
 
Icon getIconFromDamage (int par1)
 
final Icon getIconIndex (ItemStack par1ItemStack)
 
boolean onItemUse (ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
 
float getStrVsBlock (ItemStack par1ItemStack, Block par2Block)
 
ItemStack onItemRightClick (ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
 
ItemStack onEaten (ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
 
int getItemStackLimit ()
 
int getMetadata (int par1)
 
boolean getHasSubtypes ()
 
int getMaxDamage ()
 
Item setMaxDamage (int par1)
 
boolean isDamageable ()
 
boolean hitEntity (ItemStack par1ItemStack, EntityLiving par2EntityLiving, EntityLiving par3EntityLiving)
 
boolean onBlockDestroyed (ItemStack par1ItemStack, World par2World, int par3, int par4, int par5, int par6, EntityLiving par7EntityLiving)
 
int getDamageVsEntity (Entity par1Entity)
 
boolean canHarvestBlock (Block par1Block)
 
boolean itemInteractionForEntity (ItemStack par1ItemStack, EntityLiving par2EntityLiving)
 
Item setFull3D ()
 
boolean isFull3D ()
 
boolean shouldRotateAroundWhenRendering ()
 
Item setUnlocalizedName (String par1Str)
 
String getLocalizedName (ItemStack par1ItemStack)
 
String getUnlocalizedName ()
 
String getUnlocalizedName (ItemStack par1ItemStack)
 
Item setContainerItem (Item par1Item)
 
boolean doesContainerItemLeaveCraftingGrid (ItemStack par1ItemStack)
 
boolean getShareTag ()
 
Item getContainerItem ()
 
boolean hasContainerItem ()
 
String getStatName ()
 
String func_77653_i (ItemStack par1ItemStack)
 
int getColorFromItemStack (ItemStack par1ItemStack, int par2)
 
void onUpdate (ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5)
 
void onCreated (ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
 
boolean isMap ()
 
EnumAction getItemUseAction (ItemStack par1ItemStack)
 
int getMaxItemUseDuration (ItemStack par1ItemStack)
 
void onPlayerStoppedUsing (ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer, int par4)
 
Item setPotionEffect (String par1Str)
 
String getPotionEffect ()
 
boolean isPotionIngredient ()
 
void addInformation (ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
 
String getItemDisplayName (ItemStack par1ItemStack)
 
boolean hasEffect (ItemStack par1ItemStack)
 
EnumRarity getRarity (ItemStack par1ItemStack)
 
boolean isItemTool (ItemStack par1ItemStack)
 
int getItemEnchantability ()
 
boolean requiresMultipleRenderPasses ()
 
Icon getIconFromDamageForRenderPass (int par1, int par2)
 
void getSubItems (int par1, CreativeTabs par2CreativeTabs, List par3List)
 
Item setCreativeTab (CreativeTabs par1CreativeTabs)
 
CreativeTabs getCreativeTab ()
 
boolean func_82788_x ()
 
boolean getIsRepairable (ItemStack par1ItemStack, ItemStack par2ItemStack)
 
void registerIcons (IconRegister par1IconRegister)
 
boolean onDroppedByPlayer (ItemStack item, EntityPlayer player)
 
boolean onItemUseFirst (ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ)
 
float getStrVsBlock (ItemStack itemstack, Block block, int metadata)
 
boolean isRepairable ()
 
Item setNoRepair ()
 
boolean onBlockStartBreak (ItemStack itemstack, int X, int Y, int Z, EntityPlayer player)
 
void onUsingItemTick (ItemStack stack, EntityPlayer player, int count)
 
boolean onLeftClickEntity (ItemStack stack, EntityPlayer player, Entity entity)
 
Icon getIcon (ItemStack stack, int renderPass, EntityPlayer player, ItemStack usingItem, int useRemaining)
 
int getRenderPasses (int metadata)
 
ItemStack getContainerItemStack (ItemStack itemStack)
 
int getEntityLifespan (ItemStack itemStack, World world)
 
boolean hasCustomEntity (ItemStack stack)
 
Entity createEntity (World world, Entity location, ItemStack itemstack)
 
boolean onEntityItemUpdate (EntityItem entityItem)
 
CreativeTabs[] getCreativeTabs ()
 
float getSmeltingExperience (ItemStack item)
 
Icon getIcon (ItemStack stack, int pass)
 
WeightedRandomChestContent getChestGenBase (ChestGenHooks chest, Random rnd, WeightedRandomChestContent original)
 
boolean shouldPassSneakingClickToBlock (World par2World, int par4, int par5, int par6)
 
void onArmorTickUpdate (World world, EntityPlayer player, ItemStack itemStack)
 
boolean isValidArmor (ItemStack stack, int armorType, Entity entity)
 
boolean isValidArmor (ItemStack stack, int armorType)
 
boolean isPotionIngredient (ItemStack stack)
 
String getPotionEffect (ItemStack stack)
 
boolean isBookEnchantable (ItemStack itemstack1, ItemStack itemstack2)
 
int getDamageVsEntity (Entity par1Entity, ItemStack itemStack)
 
String getArmorTexture (ItemStack stack, Entity entity, int slot, int layer)
 
FontRenderer getFontRenderer (ItemStack stack)
 
ModelBiped getArmorModel (EntityLiving entityLiving, ItemStack itemStack, int armorSlot)
 
boolean onEntitySwing (EntityLiving entityLiving, ItemStack stack)
 
void renderHelmetOverlay (ItemStack stack, EntityPlayer player, ScaledResolution resolution, float partialTicks, boolean hasScreen, int mouseX, int mouseY)
 
int getDamage (ItemStack stack)
 
int getItemDamageFromStack (ItemStack stack)
 
int getDisplayDamage (ItemStack stack)
 
int getItemDamageFromStackForDisplay (ItemStack stack)
 
int getMaxDamage (ItemStack stack)
 
int getItemMaxDamageFromStack (ItemStack stack)
 
boolean isDamaged (ItemStack stack)
 
boolean isItemStackDamaged (ItemStack stack)
 
void setDamage (ItemStack stack, int damage)
 
void setItemDamageForStack (ItemStack stack, int damage)
 
boolean canHarvestBlock (Block par1Block, ItemStack itemStack)
 

Additional Inherited Members

- Public Attributes inherited from net.minecraft.item.Item
final int itemID
 
- Static Public Attributes inherited from net.minecraft.item.Item
static Item[] itemsList = new Item[32000]
 
static Item shovelIron = (new ItemSpade(0, EnumToolMaterial.IRON)).setUnlocalizedName("shovelIron")
 
static Item pickaxeIron = (new ItemPickaxe(1, EnumToolMaterial.IRON)).setUnlocalizedName("pickaxeIron")
 
static Item axeIron = (new ItemAxe(2, EnumToolMaterial.IRON)).setUnlocalizedName("hatchetIron")
 
static Item flintAndSteel = (new ItemFlintAndSteel(3)).setUnlocalizedName("flintAndSteel")
 
static Item appleRed = (new ItemFood(4, 4, 0.3F, false)).setUnlocalizedName("apple")
 
static ItemBow bow = (ItemBow)(new ItemBow(5)).setUnlocalizedName("bow")
 
static Item arrow = (new Item(6)).setUnlocalizedName("arrow").setCreativeTab(CreativeTabs.tabCombat)
 
static Item coal = (new ItemCoal(7)).setUnlocalizedName("coal")
 
static Item diamond = (new Item(8)).setUnlocalizedName("diamond").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item ingotIron = (new Item(9)).setUnlocalizedName("ingotIron").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item ingotGold = (new Item(10)).setUnlocalizedName("ingotGold").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item swordIron = (new ItemSword(11, EnumToolMaterial.IRON)).setUnlocalizedName("swordIron")
 
static Item swordWood = (new ItemSword(12, EnumToolMaterial.WOOD)).setUnlocalizedName("swordWood")
 
static Item shovelWood = (new ItemSpade(13, EnumToolMaterial.WOOD)).setUnlocalizedName("shovelWood")
 
static Item pickaxeWood = (new ItemPickaxe(14, EnumToolMaterial.WOOD)).setUnlocalizedName("pickaxeWood")
 
static Item axeWood = (new ItemAxe(15, EnumToolMaterial.WOOD)).setUnlocalizedName("hatchetWood")
 
static Item swordStone = (new ItemSword(16, EnumToolMaterial.STONE)).setUnlocalizedName("swordStone")
 
static Item shovelStone = (new ItemSpade(17, EnumToolMaterial.STONE)).setUnlocalizedName("shovelStone")
 
static Item pickaxeStone = (new ItemPickaxe(18, EnumToolMaterial.STONE)).setUnlocalizedName("pickaxeStone")
 
static Item axeStone = (new ItemAxe(19, EnumToolMaterial.STONE)).setUnlocalizedName("hatchetStone")
 
static Item swordDiamond = (new ItemSword(20, EnumToolMaterial.EMERALD)).setUnlocalizedName("swordDiamond")
 
static Item shovelDiamond = (new ItemSpade(21, EnumToolMaterial.EMERALD)).setUnlocalizedName("shovelDiamond")
 
static Item pickaxeDiamond = (new ItemPickaxe(22, EnumToolMaterial.EMERALD)).setUnlocalizedName("pickaxeDiamond")
 
static Item axeDiamond = (new ItemAxe(23, EnumToolMaterial.EMERALD)).setUnlocalizedName("hatchetDiamond")
 
static Item stick = (new Item(24)).setFull3D().setUnlocalizedName("stick").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item bowlEmpty = (new Item(25)).setUnlocalizedName("bowl").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item bowlSoup = (new ItemSoup(26, 6)).setUnlocalizedName("mushroomStew")
 
static Item swordGold = (new ItemSword(27, EnumToolMaterial.GOLD)).setUnlocalizedName("swordGold")
 
static Item shovelGold = (new ItemSpade(28, EnumToolMaterial.GOLD)).setUnlocalizedName("shovelGold")
 
static Item pickaxeGold = (new ItemPickaxe(29, EnumToolMaterial.GOLD)).setUnlocalizedName("pickaxeGold")
 
static Item axeGold = (new ItemAxe(30, EnumToolMaterial.GOLD)).setUnlocalizedName("hatchetGold")
 
static Item silk = (new ItemReed(31, Block.tripWire)).setUnlocalizedName("string").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item feather = (new Item(32)).setUnlocalizedName("feather").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item gunpowder = (new Item(33)).setUnlocalizedName("sulphur").setPotionEffect(PotionHelper.gunpowderEffect).setCreativeTab(CreativeTabs.tabMaterials)
 
static Item hoeWood = (new ItemHoe(34, EnumToolMaterial.WOOD)).setUnlocalizedName("hoeWood")
 
static Item hoeStone = (new ItemHoe(35, EnumToolMaterial.STONE)).setUnlocalizedName("hoeStone")
 
static Item hoeIron = (new ItemHoe(36, EnumToolMaterial.IRON)).setUnlocalizedName("hoeIron")
 
static Item hoeDiamond = (new ItemHoe(37, EnumToolMaterial.EMERALD)).setUnlocalizedName("hoeDiamond")
 
static Item hoeGold = (new ItemHoe(38, EnumToolMaterial.GOLD)).setUnlocalizedName("hoeGold")
 
static Item seeds = (new ItemSeeds(39, Block.crops.blockID, Block.tilledField.blockID)).setUnlocalizedName("seeds")
 
static Item wheat = (new Item(40)).setUnlocalizedName("wheat").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item bread = (new ItemFood(41, 5, 0.6F, false)).setUnlocalizedName("bread")
 
static ItemArmor helmetLeather = (ItemArmor)(new ItemArmor(42, EnumArmorMaterial.CLOTH, 0, 0)).setUnlocalizedName("helmetCloth")
 
static ItemArmor plateLeather = (ItemArmor)(new ItemArmor(43, EnumArmorMaterial.CLOTH, 0, 1)).setUnlocalizedName("chestplateCloth")
 
static ItemArmor legsLeather = (ItemArmor)(new ItemArmor(44, EnumArmorMaterial.CLOTH, 0, 2)).setUnlocalizedName("leggingsCloth")
 
static ItemArmor bootsLeather = (ItemArmor)(new ItemArmor(45, EnumArmorMaterial.CLOTH, 0, 3)).setUnlocalizedName("bootsCloth")
 
static ItemArmor helmetChain = (ItemArmor)(new ItemArmor(46, EnumArmorMaterial.CHAIN, 1, 0)).setUnlocalizedName("helmetChain")
 
static ItemArmor plateChain = (ItemArmor)(new ItemArmor(47, EnumArmorMaterial.CHAIN, 1, 1)).setUnlocalizedName("chestplateChain")
 
static ItemArmor legsChain = (ItemArmor)(new ItemArmor(48, EnumArmorMaterial.CHAIN, 1, 2)).setUnlocalizedName("leggingsChain")
 
static ItemArmor bootsChain = (ItemArmor)(new ItemArmor(49, EnumArmorMaterial.CHAIN, 1, 3)).setUnlocalizedName("bootsChain")
 
static ItemArmor helmetIron = (ItemArmor)(new ItemArmor(50, EnumArmorMaterial.IRON, 2, 0)).setUnlocalizedName("helmetIron")
 
static ItemArmor plateIron = (ItemArmor)(new ItemArmor(51, EnumArmorMaterial.IRON, 2, 1)).setUnlocalizedName("chestplateIron")
 
static ItemArmor legsIron = (ItemArmor)(new ItemArmor(52, EnumArmorMaterial.IRON, 2, 2)).setUnlocalizedName("leggingsIron")
 
static ItemArmor bootsIron = (ItemArmor)(new ItemArmor(53, EnumArmorMaterial.IRON, 2, 3)).setUnlocalizedName("bootsIron")
 
static ItemArmor helmetDiamond = (ItemArmor)(new ItemArmor(54, EnumArmorMaterial.DIAMOND, 3, 0)).setUnlocalizedName("helmetDiamond")
 
static ItemArmor plateDiamond = (ItemArmor)(new ItemArmor(55, EnumArmorMaterial.DIAMOND, 3, 1)).setUnlocalizedName("chestplateDiamond")
 
static ItemArmor legsDiamond = (ItemArmor)(new ItemArmor(56, EnumArmorMaterial.DIAMOND, 3, 2)).setUnlocalizedName("leggingsDiamond")
 
static ItemArmor bootsDiamond = (ItemArmor)(new ItemArmor(57, EnumArmorMaterial.DIAMOND, 3, 3)).setUnlocalizedName("bootsDiamond")
 
static ItemArmor helmetGold = (ItemArmor)(new ItemArmor(58, EnumArmorMaterial.GOLD, 4, 0)).setUnlocalizedName("helmetGold")
 
static ItemArmor plateGold = (ItemArmor)(new ItemArmor(59, EnumArmorMaterial.GOLD, 4, 1)).setUnlocalizedName("chestplateGold")
 
static ItemArmor legsGold = (ItemArmor)(new ItemArmor(60, EnumArmorMaterial.GOLD, 4, 2)).setUnlocalizedName("leggingsGold")
 
static ItemArmor bootsGold = (ItemArmor)(new ItemArmor(61, EnumArmorMaterial.GOLD, 4, 3)).setUnlocalizedName("bootsGold")
 
static Item flint = (new Item(62)).setUnlocalizedName("flint").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item porkRaw = (new ItemFood(63, 3, 0.3F, true)).setUnlocalizedName("porkchopRaw")
 
static Item porkCooked = (new ItemFood(64, 8, 0.8F, true)).setUnlocalizedName("porkchopCooked")
 
static Item painting = (new ItemHangingEntity(65, EntityPainting.class)).setUnlocalizedName("painting")
 
static Item appleGold = (new ItemAppleGold(66, 4, 1.2F, false)).setAlwaysEdible().setPotionEffect(Potion.regeneration.id, 5, 0, 1.0F).setUnlocalizedName("appleGold")
 
static Item sign = (new ItemSign(67)).setUnlocalizedName("sign")
 
static Item doorWood = (new ItemDoor(68, Material.wood)).setUnlocalizedName("doorWood")
 
static Item bucketEmpty = (new ItemBucket(69, 0)).setUnlocalizedName("bucket").setMaxStackSize(16)
 
static Item bucketWater = (new ItemBucket(70, Block.waterMoving.blockID)).setUnlocalizedName("bucketWater").setContainerItem(bucketEmpty)
 
static Item bucketLava = (new ItemBucket(71, Block.lavaMoving.blockID)).setUnlocalizedName("bucketLava").setContainerItem(bucketEmpty)
 
static Item minecartEmpty = (new ItemMinecart(72, 0)).setUnlocalizedName("minecart")
 
static Item saddle = (new ItemSaddle(73)).setUnlocalizedName("saddle")
 
static Item doorIron = (new ItemDoor(74, Material.iron)).setUnlocalizedName("doorIron")
 
static Item redstone = (new ItemRedstone(75)).setUnlocalizedName("redstone").setPotionEffect(PotionHelper.redstoneEffect)
 
static Item snowball = (new ItemSnowball(76)).setUnlocalizedName("snowball")
 
static Item boat = (new ItemBoat(77)).setUnlocalizedName("boat")
 
static Item leather = (new Item(78)).setUnlocalizedName("leather").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item bucketMilk = (new ItemBucketMilk(79)).setUnlocalizedName("milk").setContainerItem(bucketEmpty)
 
static Item brick = (new Item(80)).setUnlocalizedName("brick").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item clay = (new Item(81)).setUnlocalizedName("clay").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item reed = (new ItemReed(82, Block.reed)).setUnlocalizedName("reeds").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item paper = (new Item(83)).setUnlocalizedName("paper").setCreativeTab(CreativeTabs.tabMisc)
 
static Item book = (new ItemBook(84)).setUnlocalizedName("book").setCreativeTab(CreativeTabs.tabMisc)
 
static Item slimeBall = (new Item(85)).setUnlocalizedName("slimeball").setCreativeTab(CreativeTabs.tabMisc)
 
static Item minecartCrate = (new ItemMinecart(86, 1)).setUnlocalizedName("minecartChest")
 
static Item minecartPowered = (new ItemMinecart(87, 2)).setUnlocalizedName("minecartFurnace")
 
static Item egg = (new ItemEgg(88)).setUnlocalizedName("egg")
 
static Item compass = (new Item(89)).setUnlocalizedName("compass").setCreativeTab(CreativeTabs.tabTools)
 
static ItemFishingRod fishingRod = (ItemFishingRod)(new ItemFishingRod(90)).setUnlocalizedName("fishingRod")
 
static Item pocketSundial = (new Item(91)).setUnlocalizedName("clock").setCreativeTab(CreativeTabs.tabTools)
 
static Item lightStoneDust = (new Item(92)).setUnlocalizedName("yellowDust").setPotionEffect(PotionHelper.glowstoneEffect).setCreativeTab(CreativeTabs.tabMaterials)
 
static Item fishRaw = (new ItemFood(93, 2, 0.3F, false)).setUnlocalizedName("fishRaw")
 
static Item fishCooked = (new ItemFood(94, 5, 0.6F, false)).setUnlocalizedName("fishCooked")
 
static Item dyePowder = (new ItemDye(95)).setUnlocalizedName("dyePowder")
 
static Item bone = (new Item(96)).setUnlocalizedName("bone").setFull3D().setCreativeTab(CreativeTabs.tabMisc)
 
static Item sugar = (new Item(97)).setUnlocalizedName("sugar").setPotionEffect(PotionHelper.sugarEffect).setCreativeTab(CreativeTabs.tabMaterials)
 
static Item cake = (new ItemReed(98, Block.cake)).setMaxStackSize(1).setUnlocalizedName("cake").setCreativeTab(CreativeTabs.tabFood)
 
static Item bed = (new ItemBed(99)).setMaxStackSize(1).setUnlocalizedName("bed")
 
static Item redstoneRepeater = (new ItemReed(100, Block.redstoneRepeaterIdle)).setUnlocalizedName("diode").setCreativeTab(CreativeTabs.tabRedstone)
 
static Item cookie = (new ItemFood(101, 2, 0.1F, false)).setUnlocalizedName("cookie")
 
static ItemMap map = (ItemMap)(new ItemMap(102)).setUnlocalizedName("map")
 
static ItemShears shears = (ItemShears)(new ItemShears(103)).setUnlocalizedName("shears")
 
static Item melon = (new ItemFood(104, 2, 0.3F, false)).setUnlocalizedName("melon")
 
static Item pumpkinSeeds = (new ItemSeeds(105, Block.pumpkinStem.blockID, Block.tilledField.blockID)).setUnlocalizedName("seeds_pumpkin")
 
static Item melonSeeds = (new ItemSeeds(106, Block.melonStem.blockID, Block.tilledField.blockID)).setUnlocalizedName("seeds_melon")
 
static Item beefRaw = (new ItemFood(107, 3, 0.3F, true)).setUnlocalizedName("beefRaw")
 
static Item beefCooked = (new ItemFood(108, 8, 0.8F, true)).setUnlocalizedName("beefCooked")
 
static Item chickenRaw = (new ItemFood(109, 2, 0.3F, true)).setPotionEffect(Potion.hunger.id, 30, 0, 0.3F).setUnlocalizedName("chickenRaw")
 
static Item chickenCooked = (new ItemFood(110, 6, 0.6F, true)).setUnlocalizedName("chickenCooked")
 
static Item rottenFlesh = (new ItemFood(111, 4, 0.1F, true)).setPotionEffect(Potion.hunger.id, 30, 0, 0.8F).setUnlocalizedName("rottenFlesh")
 
static Item enderPearl = (new ItemEnderPearl(112)).setUnlocalizedName("enderPearl")
 
static Item blazeRod = (new Item(113)).setUnlocalizedName("blazeRod").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item ghastTear = (new Item(114)).setUnlocalizedName("ghastTear").setPotionEffect(PotionHelper.ghastTearEffect).setCreativeTab(CreativeTabs.tabBrewing)
 
static Item goldNugget = (new Item(115)).setUnlocalizedName("goldNugget").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item netherStalkSeeds = (new ItemSeeds(116, Block.netherStalk.blockID, Block.slowSand.blockID)).setUnlocalizedName("netherStalkSeeds").setPotionEffect("+4")
 
static ItemPotion potion = (ItemPotion)(new ItemPotion(117)).setUnlocalizedName("potion")
 
static Item glassBottle = (new ItemGlassBottle(118)).setUnlocalizedName("glassBottle")
 
static Item spiderEye = (new ItemFood(119, 2, 0.8F, false)).setPotionEffect(Potion.poison.id, 5, 0, 1.0F).setUnlocalizedName("spiderEye").setPotionEffect(PotionHelper.spiderEyeEffect)
 
static Item fermentedSpiderEye = (new Item(120)).setUnlocalizedName("fermentedSpiderEye").setPotionEffect(PotionHelper.fermentedSpiderEyeEffect).setCreativeTab(CreativeTabs.tabBrewing)
 
static Item blazePowder = (new Item(121)).setUnlocalizedName("blazePowder").setPotionEffect(PotionHelper.blazePowderEffect).setCreativeTab(CreativeTabs.tabBrewing)
 
static Item magmaCream = (new Item(122)).setUnlocalizedName("magmaCream").setPotionEffect(PotionHelper.magmaCreamEffect).setCreativeTab(CreativeTabs.tabBrewing)
 
static Item brewingStand = (new ItemReed(123, Block.brewingStand)).setUnlocalizedName("brewingStand").setCreativeTab(CreativeTabs.tabBrewing)
 
static Item cauldron = (new ItemReed(124, Block.cauldron)).setUnlocalizedName("cauldron").setCreativeTab(CreativeTabs.tabBrewing)
 
static Item eyeOfEnder = (new ItemEnderEye(125)).setUnlocalizedName("eyeOfEnder")
 
static Item speckledMelon = (new Item(126)).setUnlocalizedName("speckledMelon").setPotionEffect(PotionHelper.speckledMelonEffect).setCreativeTab(CreativeTabs.tabBrewing)
 
static Item monsterPlacer = (new ItemMonsterPlacer(127)).setUnlocalizedName("monsterPlacer")
 
static Item expBottle = (new ItemExpBottle(128)).setUnlocalizedName("expBottle")
 
static Item fireballCharge = (new ItemFireball(129)).setUnlocalizedName("fireball")
 
static Item writableBook = (new ItemWritableBook(130)).setUnlocalizedName("writingBook").setCreativeTab(CreativeTabs.tabMisc)
 
static Item writtenBook = (new ItemEditableBook(131)).setUnlocalizedName("writtenBook")
 
static Item emerald = (new Item(132)).setUnlocalizedName("emerald").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item itemFrame = (new ItemHangingEntity(133, EntityItemFrame.class)).setUnlocalizedName("frame")
 
static Item flowerPot = (new ItemReed(134, Block.flowerPot)).setUnlocalizedName("flowerPot").setCreativeTab(CreativeTabs.tabDecorations)
 
static Item carrot = (new ItemSeedFood(135, 4, 0.6F, Block.carrot.blockID, Block.tilledField.blockID)).setUnlocalizedName("carrots")
 
static Item potato = (new ItemSeedFood(136, 1, 0.3F, Block.potato.blockID, Block.tilledField.blockID)).setUnlocalizedName("potato")
 
static Item bakedPotato = (new ItemFood(137, 6, 0.6F, false)).setUnlocalizedName("potatoBaked")
 
static Item poisonousPotato = (new ItemFood(138, 2, 0.3F, false)).setPotionEffect(Potion.poison.id, 5, 0, 0.6F).setUnlocalizedName("potatoPoisonous")
 
static ItemEmptyMap emptyMap = (ItemEmptyMap)(new ItemEmptyMap(139)).setUnlocalizedName("emptyMap")
 
static Item goldenCarrot = (new ItemFood(140, 6, 1.2F, false)).setUnlocalizedName("carrotGolden").setPotionEffect(PotionHelper.goldenCarrotEffect)
 
static Item skull = (new ItemSkull(141)).setUnlocalizedName("skull")
 
static Item carrotOnAStick = (new ItemCarrotOnAStick(142)).setUnlocalizedName("carrotOnAStick")
 
static Item netherStar = (new ItemSimpleFoiled(143)).setUnlocalizedName("netherStar").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item pumpkinPie = (new ItemFood(144, 8, 0.3F, false)).setUnlocalizedName("pumpkinPie").setCreativeTab(CreativeTabs.tabFood)
 
static Item firework = (new ItemFirework(145)).setUnlocalizedName("fireworks")
 
static Item fireworkCharge = (new ItemFireworkCharge(146)).setUnlocalizedName("fireworksCharge").setCreativeTab(CreativeTabs.tabMisc)
 
static ItemEnchantedBook enchantedBook = (ItemEnchantedBook)(new ItemEnchantedBook(147)).setMaxStackSize(1).setUnlocalizedName("enchantedBook")
 
static Item comparator = (new ItemReed(148, Block.redstoneComparatorIdle)).setUnlocalizedName("comparator").setCreativeTab(CreativeTabs.tabRedstone)
 
static Item netherrackBrick = (new Item(149)).setUnlocalizedName("netherbrick").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item netherQuartz = (new Item(150)).setUnlocalizedName("netherquartz").setCreativeTab(CreativeTabs.tabMaterials)
 
static Item minecartTnt = (new ItemMinecart(151, 3)).setUnlocalizedName("minecartTnt")
 
static Item minecartHopper = (new ItemMinecart(152, 5)).setUnlocalizedName("minecartHopper")
 
static Item record13 = (new ItemRecord(2000, "13")).setUnlocalizedName("record")
 
static Item recordCat = (new ItemRecord(2001, "cat")).setUnlocalizedName("record")
 
static Item recordBlocks = (new ItemRecord(2002, "blocks")).setUnlocalizedName("record")
 
static Item recordChirp = (new ItemRecord(2003, "chirp")).setUnlocalizedName("record")
 
static Item recordFar = (new ItemRecord(2004, "far")).setUnlocalizedName("record")
 
static Item recordMall = (new ItemRecord(2005, "mall")).setUnlocalizedName("record")
 
static Item recordMellohi = (new ItemRecord(2006, "mellohi")).setUnlocalizedName("record")
 
static Item recordStal = (new ItemRecord(2007, "stal")).setUnlocalizedName("record")
 
static Item recordStrad = (new ItemRecord(2008, "strad")).setUnlocalizedName("record")
 
static Item recordWard = (new ItemRecord(2009, "ward")).setUnlocalizedName("record")
 
static Item record11 = (new ItemRecord(2010, "11")).setUnlocalizedName("record")
 
static Item recordWait = (new ItemRecord(2011, "wait")).setUnlocalizedName("record")
 
- Protected Member Functions inherited from net.minecraft.item.Item
Item setHasSubtypes (boolean par1)
 
MovingObjectPosition getMovingObjectPositionFromPlayer (World par1World, EntityPlayer par2EntityPlayer, boolean par3)
 
- Protected Attributes inherited from net.minecraft.item.Item
int maxStackSize = 64
 
boolean bFull3D = false
 
boolean hasSubtypes = false
 
Icon itemIcon
 
boolean canRepair = true
 
- Static Protected Attributes inherited from net.minecraft.item.Item
static Random itemRand = new Random()
 

Constructor & Destructor Documentation

YATS.item.ItemSpanner.ItemSpanner ( int  id)

Member Function Documentation

boolean YATS.item.ItemSpanner.onItemUse ( ItemStack  stack,
EntityPlayer  player,
World  world,
int  x,
int  y,
int  z,
int  side,
float  hitX,
float  hitY,
float  hitZ 
)
void YATS.item.ItemSpanner.registerIcons ( IconRegister  register)

The documentation for this class was generated from the following file: