Class Item

    • Field Detail

      • RANDOM

        protected static final java.util.Random RANDOM
      • ALL_ITEMS

        public static final Item[] ALL_ITEMS
      • IRON_SHOVEL

        public static final Item IRON_SHOVEL
      • IRON_PICKAXE

        public static final Item IRON_PICKAXE
      • IRON_AXE

        public static final Item IRON_AXE
      • FLINT_AND_STEEL

        public static final Item FLINT_AND_STEEL
      • APPLE

        public static final Item APPLE
      • BOW

        public static final Item BOW
      • ARROW

        public static final Item ARROW
      • COAL

        public static final Item COAL
      • DIAMOND

        public static final Item DIAMOND
      • IRON_INGOT

        public static final Item IRON_INGOT
      • GOLD_INGOT

        public static final Item GOLD_INGOT
      • IRON_SWORD

        public static final Item IRON_SWORD
      • WOODEN_SWORD

        public static final Item WOODEN_SWORD
      • WOODEN_SHOVEL

        public static final Item WOODEN_SHOVEL
      • WOODEN_PICKAXE

        public static final Item WOODEN_PICKAXE
      • WOODEN_AXE

        public static final Item WOODEN_AXE
      • STONE_SWORD

        public static final Item STONE_SWORD
      • STONE_SHOVEL

        public static final Item STONE_SHOVEL
      • STONE_PICKAXE

        public static final Item STONE_PICKAXE
      • STONE_AXE

        public static final Item STONE_AXE
      • DIAMOND_SWORD

        public static final Item DIAMOND_SWORD
      • DIAMOND_SHOVEL

        public static final Item DIAMOND_SHOVEL
      • DIAMOND_PICKAXE

        public static final Item DIAMOND_PICKAXE
      • DIAMOND_AXE

        public static final Item DIAMOND_AXE
      • STICK

        public static final Item STICK
      • BOWL

        public static final Item BOWL
      • MUSHROOM_STEW

        public static final Item MUSHROOM_STEW
      • GOLDEN_SWORD

        public static final Item GOLDEN_SWORD
      • GOLDEN_SHOVEL

        public static final Item GOLDEN_SHOVEL
      • GOLDEN_PICKAXE

        public static final Item GOLDEN_PICKAXE
      • GOLDEN_AXE

        public static final Item GOLDEN_AXE
      • STRING

        public static final Item STRING
      • FEATHER

        public static final Item FEATHER
      • GUNPOWDER

        public static final Item GUNPOWDER
      • WOODEN_HOE

        public static final Item WOODEN_HOE
      • STONE_HOE

        public static final Item STONE_HOE
      • IRON_HOE

        public static final Item IRON_HOE
      • DIAMOND_HOE

        public static final Item DIAMOND_HOE
      • GOLDEN_HOE

        public static final Item GOLDEN_HOE
      • SEEDS

        public static final Item SEEDS
      • WHEAT

        public static final Item WHEAT
      • BREAD

        public static final Item BREAD
      • LEATHER_HELMET

        public static final Item LEATHER_HELMET
      • LEATHER_CHESTPLATE

        public static final Item LEATHER_CHESTPLATE
      • LEATHER_LEGGINGS

        public static final Item LEATHER_LEGGINGS
      • LEATHER_BOOTS

        public static final Item LEATHER_BOOTS
      • CHAINMAIL_HELMET

        public static final Item CHAINMAIL_HELMET
      • CHAINMAIL_CHESTPLATE

        public static final Item CHAINMAIL_CHESTPLATE
      • CHAINMAIL_LEGGINGS

        public static final Item CHAINMAIL_LEGGINGS
      • CHAINMAIL_BOOTS

        public static final Item CHAINMAIL_BOOTS
      • IRON_HELMET

        public static final Item IRON_HELMET
      • IRON_CHESTPLATE

        public static final Item IRON_CHESTPLATE
      • IRON_LEGGINGS

        public static final Item IRON_LEGGINGS
      • IRON_BOOTS

        public static final Item IRON_BOOTS
      • DIAMOND_HELMET

        public static final Item DIAMOND_HELMET
      • DIAMOND_CHESTPLATE

        public static final Item DIAMOND_CHESTPLATE
      • DIAMOND_LEGGINGS

        public static final Item DIAMOND_LEGGINGS
      • DIAMOND_BOOTS

        public static final Item DIAMOND_BOOTS
      • GOLDEN_HELMET

        public static final Item GOLDEN_HELMET
      • GOLDEN_CHESTPLATE

        public static final Item GOLDEN_CHESTPLATE
      • GOLDEN_LEGGINGS

        public static final Item GOLDEN_LEGGINGS
      • GOLDEN_BOOTS

        public static final Item GOLDEN_BOOTS
      • FLINT

        public static final Item FLINT
      • PORKCHOP

        public static final Item PORKCHOP
      • COOKED_PORKCHOP

        public static final Item COOKED_PORKCHOP
      • PAINTING

        public static final Item PAINTING
      • GOLDEN_APPLE

        public static final Item GOLDEN_APPLE
      • SIGN

        public static final Item SIGN
      • WOODEN_DOOR

        public static final Item WOODEN_DOOR
      • BUCKET

        public static final Item BUCKET
      • WATER_BUCKET

        public static final Item WATER_BUCKET
      • LAVA_BUCKET

        public static final Item LAVA_BUCKET
      • MINECART

        public static final Item MINECART
      • SADDLE

        public static final Item SADDLE
      • IRON_DOOR

        public static final Item IRON_DOOR
      • REDSTONE

        public static final Item REDSTONE
      • SNOWBALL

        public static final Item SNOWBALL
      • BOAT

        public static final Item BOAT
      • LEATHER

        public static final Item LEATHER
      • MILK_BUCKET

        public static final Item MILK_BUCKET
      • BRICK

        public static final Item BRICK
      • CLAY_BALL

        public static final Item CLAY_BALL
      • SUGARCANE

        public static final Item SUGARCANE
      • PAPER

        public static final Item PAPER
      • BOOK

        public static final Item BOOK
      • SLIME_BALL

        public static final Item SLIME_BALL
      • CHEST_MINECART

        public static final Item CHEST_MINECART
      • FURNACE_MINECART

        public static final Item FURNACE_MINECART
      • EGG

        public static final Item EGG
      • COMPASS

        public static final Item COMPASS
      • FISHING_ROD

        public static final Item FISHING_ROD
      • CLOCK

        public static final Item CLOCK
      • GLOWSTONE_DUST

        public static final Item GLOWSTONE_DUST
      • FISH

        public static final Item FISH
      • COOKED_FISH

        public static final Item COOKED_FISH
      • DYE

        public static final Item DYE
      • BONE

        public static final Item BONE
      • SUGAR

        public static final Item SUGAR
      • CAKE

        public static final Item CAKE
      • BED

        public static final Item BED
      • REDSTONE_REPEATER

        public static final Item REDSTONE_REPEATER
      • COOKIE

        public static final Item COOKIE
      • MAP

        public static final MapItem MAP
      • MELON

        public static final Item MELON
      • PUMPKIN_SEEDS

        public static final Item PUMPKIN_SEEDS
      • MELON_SEEDS

        public static final Item MELON_SEEDS
      • BEEF

        public static final Item BEEF
      • COOKED_BEEF

        public static final Item COOKED_BEEF
      • CHICKEN

        public static final Item CHICKEN
      • COOKED_CHICKEN

        public static final Item COOKED_CHICKEN
      • ROTTEN_FLESH

        public static final Item ROTTEN_FLESH
      • ENDER_PEARL

        public static final Item ENDER_PEARL
      • BLAZE_ROD

        public static final Item BLAZE_ROD
      • GHAST_TEAR

        public static final Item GHAST_TEAR
      • GOLD_NUGGET

        public static final Item GOLD_NUGGET
      • NETHER_WART

        public static final Item NETHER_WART
      • GLASS_BOTTLE

        public static final Item GLASS_BOTTLE
      • SPIDER_EYE

        public static final Item SPIDER_EYE
      • FERMENTED_SPIDER_EYE

        public static final Item FERMENTED_SPIDER_EYE
      • BLAZE_POWDER

        public static final Item BLAZE_POWDER
      • MAGMA_CREAM

        public static final Item MAGMA_CREAM
      • BREWING_STAND

        public static final Item BREWING_STAND
      • CAULDRON

        public static final Item CAULDRON
      • EYE_OF_ENDER

        public static final Item EYE_OF_ENDER
      • GLISTERING_MELON

        public static final Item GLISTERING_MELON
      • SPAWN_EGG

        public static final Item SPAWN_EGG
      • EXPERIENCE_BOTTLE

        public static final Item EXPERIENCE_BOTTLE
      • FIRE_CHARGE

        public static final Item FIRE_CHARGE
      • MUSIC_DISC_13

        public static final Item MUSIC_DISC_13
      • MUSIC_DISC_CAT

        public static final Item MUSIC_DISC_CAT
      • MUSIC_DISC_BLOCKS

        public static final Item MUSIC_DISC_BLOCKS
      • MUSIC_DISC_CHIRP

        public static final Item MUSIC_DISC_CHIRP
      • MUSIC_DISC_FAR

        public static final Item MUSIC_DISC_FAR
      • MUSIC_DISC_MALL

        public static final Item MUSIC_DISC_MALL
      • MUSIC_DISC_MELLOHI

        public static final Item MUSIC_DISC_MELLOHI
      • MUSIC_DISC_STAL

        public static final Item MUSIC_DISC_STAL
      • MUSIC_DISC_STRAD

        public static final Item MUSIC_DISC_STRAD
      • MUSIC_DISC_WARD

        public static final Item MUSIC_DISC_WARD
      • MUSIC_DISC_11

        public static final Item MUSIC_DISC_11
      • shiftedIndex

        public final int shiftedIndex
      • maxStackSize

        protected int maxStackSize
      • iconIndex

        protected int iconIndex
      • bFull3D

        protected boolean bFull3D
      • hasSubtypes

        protected boolean hasSubtypes
    • Constructor Detail

      • Item

        protected Item​(int var1)
    • Method Detail

      • setIconIndex

        public Item setIconIndex​(int var1)
      • setMaxStackSize

        public Item setMaxStackSize​(int var1)
      • setIconCoord

        public Item setIconCoord​(int var1,
                                 int var2)
      • getIconFromDamage

        @Client
        public @net.minecraft.modding.api.Side.Client int getIconFromDamage​(int var1)
      • getIconIndex

        @Client
        public final @net.minecraft.modding.api.Side.Client int getIconIndex​(ItemStack var1)
      • onItemUse

        public boolean onItemUse​(ItemStack var1,
                                 Player var2,
                                 World var3,
                                 int i,
                                 int j,
                                 int k,
                                 int l)
      • getStrVsBlock

        public float getStrVsBlock​(ItemStack var1,
                                   Block var2)
      • getItemStackLimit

        public int getItemStackLimit()
      • getMetadata

        public int getMetadata​(int var1)
      • getHasSubtypes

        public boolean getHasSubtypes()
      • setHasSubtypes

        protected Item setHasSubtypes​(boolean var1)
      • getMaxDamage

        public int getMaxDamage()
      • setMaxDamage

        protected Item setMaxDamage​(int var1)
      • isDamageable

        public boolean isDamageable()
      • onBlockDestroyed

        public boolean onBlockDestroyed​(ItemStack var1,
                                        int var2,
                                        int var3,
                                        int i,
                                        int j,
                                        LivingEntity entityliving)
      • getDamageVsEntity

        public int getDamageVsEntity​(Entity var1)
      • canHarvestBlock

        public boolean canHarvestBlock​(Block var1)
      • setFull3D

        public Item setFull3D()
      • isFull3D

        @Client
        public @net.minecraft.modding.api.Side.Client boolean isFull3D()
      • shouldRotateAroundWhenRendering

        @Client
        public @net.minecraft.modding.api.Side.Client boolean shouldRotateAroundWhenRendering()
      • setItemName

        public Item setItemName​(java.lang.String var1)
      • getItemName

        public java.lang.String getItemName()
      • getItemNameIS

        public java.lang.String getItemNameIS​(ItemStack var1)
      • setContainerItem

        public Item setContainerItem​(Item var1)
      • doesContainerItemLeaveCraftingGrid

        public boolean doesContainerItemLeaveCraftingGrid​(ItemStack var1)
      • func_46056_k

        public boolean func_46056_k()
      • getContainerItem

        public Item getContainerItem()
      • hasContainerItem

        public boolean hasContainerItem()
      • getStatName

        public java.lang.String getStatName()
      • getColorFromDamage

        @Client
        public @net.minecraft.modding.api.Side.Client int getColorFromDamage​(int var1,
                                                                             int var2)
      • onUpdate

        public void onUpdate​(ItemStack itemstack,
                             World world,
                             Entity entity,
                             int i,
                             boolean flag)
      • func_28019_b

        public boolean func_28019_b()
      • getMaxItemUseDuration

        public int getMaxItemUseDuration​(ItemStack var1)
      • onPlayerStoppedUsing

        public void onPlayerStoppedUsing​(ItemStack itemstack,
                                         World world,
                                         Player entityplayer,
                                         int i)
      • setPotionEffect

        protected Item setPotionEffect​(java.lang.String var1)
      • getPotionEffect

        public java.lang.String getPotionEffect()
      • isPotionIngredient

        public boolean isPotionIngredient()
      • addInformation

        @Client
        public void addInformation​(ItemStack itemstack,
                                   java.util.List list)
      • hasEffect

        @Client
        public @net.minecraft.modding.api.Side.Client boolean hasEffect​(ItemStack var1)
      • isItemTool

        public boolean isItemTool​(ItemStack var1)
      • getItemEnchantability

        public int getItemEnchantability()
      • func_46058_c

        @Client
        public @net.minecraft.modding.api.Side.Client boolean func_46058_c()
      • func_46057_a

        @Client
        public @net.minecraft.modding.api.Side.Client int func_46057_a​(int var1,
                                                                       int var2)
      • getSubItems

        public void getSubItems​(int var1,
                                CreativeTab var2,
                                java.util.List<ItemStack> var3)
      • makeSubItems

        public static void makeSubItems​(int itemId,
                                        int count,
                                        java.util.List<ItemStack> output)
      • makeSubItems

        public static void makeSubItems​(int itemId,
                                        int count,
                                        java.util.List<ItemStack> output,
                                        int... exclude)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • registerVanilla

        public static void registerVanilla()
      • postRegister

        public static void postRegister()