| package ic2.api.item; |
| |
| import net.minecraft.item.ItemStack; |
| |
| /** |
| * Provides access to IC2 blocks and items. |
| * |
| * Some items can be acquired through the ore dictionary which is the recommended way. |
| * The items are initialized while IC2 is being loaded - try to use ModsLoaded() or load your mod after IC2. |
| * Some blocks/items can be disabled by a config setting, so it's recommended to check if they're null first. |
| * |
| * Getting the associated Block/Item for an ItemStack x: |
| * Blocks: Block.blocksList[x.itemID] |
| * Items: x.getItem() |
| */ |
| public final class IC2Items { |
| /** |
| * Get an ItemStack for a specific item name, example: Items.getItem("resin") |
| * See the list below for item names. |
| * Make sure to copy() the ItemStack if you want to modify it. |
| * |
| * @param name item name |
| * @return The item or null if the item does not exist or an error occurred |
| */ |
| public static ItemStack getItem(String name) { |
| try { |
| if (Ic2Items == null) Ic2Items = Class.forName(getPackage() + ".core.Ic2Items"); |
| |
| Object ret = Ic2Items.getField(name).get(null); |
| |
| if (ret instanceof ItemStack) { |
| return (ItemStack) ret; |
| } |
| return null; |
| } catch (Exception e) { |
| System.out.println("IC2 API: Call getItem failed for "+name); |
| |
| return null; |
| } |
| } |
| |
| /* Possible values: |
| |
| // ores |
| copperOre; // Copper Ore block, currently not meta sensitive, meta in ItemStack set to 0, ore dictionary: oreCopper, null with enableWorldGenOreCopper=false |
| tinOre; // Tin Ore block, currently not meta sensitive, meta in ItemStack set to 0, ore dictionary: oreTin, null with enableWorldGenOreTin=false |
| uraniumOre; // Tin Ore block, currently not meta sensitive, meta in ItemStack set to 0, ore dictionary: oreUranium, null with enableWorldGenOreUranium=false |
| leadOre; // Lead Ore Block, currently not meta sensitive, meta in ItemStack set to 0, ore dictionary: oreLead, null with enableWorldGenOreLead=false |
| |
| // rubber related |
| |
| Rubber wood block, meta reflects the state, meta in ItemStack set to 0, ore dictionary: woodRubber (with meta 0), null with enableWorldGenTreeRubber=false |
| dropped (as an item) -> metadata 0 |
| block, no resin spot -> metadata 0 or 1 |
| block, wet resin spot -> metadata 2-5 (according to the side) |
| block, dry resin spot -> metadata 8-11 (wet state + 6) |
| |
| rubberWood; |
| rubberLeaves; // Rubber Leaves block, currently not meta sensitive, meta in ItemStack set to 0, null with enableWorldGenTreeRubber=false |
| rubberSapling; // Rubber Sapling block, currently not meta sensitive, meta in ItemStack set to 0, null with enableWorldGenTreeRubber=false |
| resinSheet; // Resin Sheet block, currently not meta sensitive |
| rubberTrampoline; // Rubber Trampoline block, meta reflects internal state, meta in ItemStack set to 0 |
| |
| // building/storage |
| ironFence; // Iron Fence block, currently not meta sensitive |
| |
| reinforcedStone; // Reinforced Stone block, currently not meta sensitive |
| reinforcedGlass; // Reinforced Glass block, currently not meta sensitive |
| reinforcedDoorBlock; // Reinforced Door block, meta reflects the state (see vanilla doors), meta in ItemStack set to 0 |
| |
| constructionreinforcedFoam; // Construction Reinforced Foam block, currently not meta sensitive |
| constructionFoam; // Construction Foam block, currently not meta sensitive |
| constructionFoamWall; // Construction Foam Wall block, meta = color, implements IPaintableBlock |
| scaffold; // Scaffold block, meta reflects internal physical model data |
| ironScaffold; // Scaffold block, meta reflects internal physical model data |
| |
| bronzeBlock; // Bronze block, meta sensitive |
| copperBlock; // Copper block, meta sensitive |
| tinBlock; // Tin block, meta sensitive |
| uraniumBlock; // Uranium block, meta sensitive |
| leadBlock; // Uranium block, meta sensitive |
| |
| // cables (when placed as a block, inventory items are different; TE implements IEnergyConductor) |
| |
| copperCableBlock; // Copper Cable block, meta sensitive |
| insulatedCopperCableBlock; // Insulated Copper Cable block, meta sensitive |
| |
| goldCableBlock; // Gold Cable block, meta sensitive |
| insulatedGoldCableBlock; // Insulated Gold Cable block, meta sensitive |
| doubleInsulatedGoldCableBlock; // Double Insulated Gold Cable block, meta sensitive |
| |
| ironCableBlock; // Iron Cable block, meta sensitive |
| insulatedIronCableBlock; // Insulated Iron Cable block, meta sensitive |
| doubleInsulatedIronCableBlock; // Double Insulated Iron Cable block, meta sensitive |
| trippleInsulatedIronCableBlock; // Tripple Insulated Iron Cable block, meta sensitive |
| |
| glassFiberCableBlock; // Glass Fiber Cable block, meta sensitive |
| |
| tinCableBlock; // Tin Cable block, meta sensitive |
| insulatedtinCableBlock; // Insulated Tin Cable item, meta sensitive |
| detectorCableBlock; // Detector Cable block, meta sensitive |
| splitterCableBlock; // Splitter Cable block, meta sensitive |
| |
| // generators + related (TE implements IEnergySource ex. reactorChamber) |
| |
| generator; // Generator block, meta sensitive |
| geothermalGenerator; // Geothermal Generator block, meta sensitive |
| waterMill; // Water Mill block, meta sensitive |
| solarPanel; // Solar Panel block, meta sensitive |
| windMill; // Wind Mill block, meta sensitive |
| nuclearReactor; // Nuclear Reactor block, meta sensitive |
| reactorChamber; // Reactor Chamber block, currently not meta sensitive |
| RTGenerator; // Radioisotope Thermoelectric Generator block, meta sensitive |
| semifluidGenerator; // Semifluid Generator block, meta sensitive |
| |
| |
| // energy storages (TE implements IEnergySource and IEnergyConductor) |
| |
| batBox; // BatBox block, meta sensitive |
| cesuUnit; // CESU Unit block, meta sensitive |
| mfeUnit; // MFE Unit block, meta sensitive |
| mfsUnit; // MFS Unit block, meta sensitive |
| |
| // transformers (TE implements IEnergySource and IEnergyConductor) |
| |
| lvTransformer; // LV Transformer block, meta sensitive |
| mvTransformer; // MV Transformer block, meta sensitive |
| hvTransformer; // HV Transformer block, meta sensitive |
| evTransformer; // EV Transformer block, meta sensitive |
| |
| // machines + related (TE implements IEnergySink ex. machine, miningPipe, miningPipeTip) |
| |
| machine; // Machine block, meta sensitive |
| advancedMachine; // Advanced Machine block, meta sensitive |
| |
| ironFurnace; // Iron Furnace block, meta sensitive |
| electroFurnace; // Electro Furnace block, meta sensitive |
| macerator; // Macerator block, meta sensitive |
| extractor; // Extractor block, meta sensitive |
| compressor; // Compressor block, meta sensitive |
| canner; // Canner block, meta sensitive |
| miner; // Miner block, meta sensitive |
| pump; // Pump block, meta sensitive |
| magnetizer; // Magnetizer block, meta sensitive |
| electrolyzer; // Electrolyzer block, meta sensitive |
| recycler; // Recycler block, meta sensitive |
| inductionFurnace; // Induction Furnace block, meta sensitive |
| massFabricator; // Mass Fabricator block, meta sensitive |
| terraformer; // Terraformer block, meta sensitive |
| teleporter; // Teleporter block, meta sensitive |
| teslaCoil; // Tesla Coil block, meta sensitive |
| luminator; // Passive (dark) Luminator block, meta = facing |
| activeLuminator; // Active (bright) Luminator block, meta = facing |
| centrifuge; // Centrifuge block, meta sensitive |
| metalformer; // MetalFormer block ,meta sensitive |
| orewashingplant; // Ore Wasching Plant,Meta sensitive |
| patternstorage; // Pattern Storage,Meta sensitive |
| scanner; // Scanner,Meta sensitive |
| replicator; // Replicator,Meta sensitive |
| |
| miningPipe; // Mining Pipe block, currently not meta sensitive, meta in ItemStack set to 0 |
| miningPipeTip; // Mining Pipe Tip block, currently not meta sensitive, meta in ItemStack set to 0 |
| |
| |
| // personal blocks |
| |
| personalSafe; // Personal Safe block, meta sensitive |
| tradeOMat; // Trade-O-Mat block, meta sensitive |
| energyOMat; // Energy-O-Mat block, meta sensitive |
| |
| // explosives |
| |
| industrialTnt; // Industrial TNT block, currently not meta sensitive |
| nuke; // Nuke block, currently not meta sensitive |
| dynamiteStick; // Dynamite Stick block, meta = placement, meta in ItemStack set to 0 |
| dynamiteStickWithRemote; // Dynamite Stick with Remote block, meta = placement, meta in ItemStack set to 0 |
| |
| // Agriculture Stuff |
| |
| crop; // Crop Block, empty, not meta sensitive |
| cropmatron; // Cropmatron machien block, meta sensititve |
| |
| // ----- items ----- |
| |
| // rubber + related |
| resin; // Resin item, currently not meta sensitive |
| rubber; // Rubber item, currently not meta sensitive, ore dictionary: itemRubber |
| |
| FluidCell; |
| |
| // Lithium -> Tritium |
| |
| reactorLithiumCell; // LithiumCell use in Reaktor, , meta = damage value |
| TritiumCell; // Tritium, currently not meta sensitive |
| |
| // Nuclear Fuel |
| |
| UranFuel; // , currently not meta sensitive |
| MOXFuel; // , currently not meta sensitive |
| Plutonium; // , currently not meta sensitive |
| smallPlutonium; // , currently not meta sensitive |
| Uran235; // , currently not meta sensitive |
| smallUran235; // , currently not meta sensitive |
| Uran238; // , currently not meta sensitive |
| |
| reactorDepletedUraniumSimple; // Depleted Uranium Cell items, currently not meta sensitive |
| reactorDepletedUraniumDual; |
| reactorDepletedUraniumQuad; |
| reactorDepletedMOXSimple; // Depleted MOX Cell items, currently not meta sensitive |
| reactorDepletedMOXDual; |
| reactorDepletedMOXQuad; |
| reactorMOXSimple; // Depleted MOX Cell items, currently not meta sensitive |
| reactorMOXDual; |
| reactorMOXQuad; |
| RTGPellets; |
| |
| |
| // Recipe Parts |
| |
| coil; // Coil, meta sensitive |
| elemotor; // electric motor, meta sensitive |
| powerunit; // Item Power Unit, meta sensitive |
| powerunitsmall; // Item Power Unit, meta sensitive |
| |
| |
| // ItemCasing |
| |
| casingcopper; // Copper ItemCasing, meta sensitive |
| casingtin; // Tin ItemCasing, meta sensitive |
| casingbronze; // Bronze ItemCasing, meta sensitive |
| casinggold; // Gold ItemCasing, meta sensitive |
| casingiron; // Iron ItemCasing, meta sensitive |
| @Deprecated |
| casingadviron; // Refined Iron ItemCasing, meta sensitive |
| casinglead; // Lead ItemCasing, meta sensitive |
| |
| // Crushed Ore |
| crushedIronOre; // Crushed Iron Ore, meta sensitive |
| crushedCopperOre; // Crushed Copper Ore, meta sensitive |
| crushedGoldOre; // Crushed Gold Ore, meta sensitive |
| crushedTinOre; // Crushed Tin Ore, meta sensitive |
| crushedUraniumOre; // Crushed Uranium Ore, meta sensitive |
| crushedSilverOre; // Crushed Silver Ore, meta sensitive |
| crushedLeadOre; // Crushed Lead Ore, meta sensitive |
| |
| |
| //Purify Crushed Ore |
| purifiedCrushedIronOre; // Purify Crushed Iron Ore, meta sensitive |
| purifiedCrushedCopperOre; // Purify Crushed Copper Ore, meta sensitive |
| purifiedCrushedGoldOre; // Purify Crushed Gold Ore, meta sensitive |
| purifiedCrushedTinOre; // Purify Crushed Tin Ore, meta sensitive |
| purifiedCrushedUraniumOre; // Purify Crushed Uranium Ore, meta sensitive |
| purifiedCrushedSilverOre; // Purify Crushed Silver Ore, meta sensitive |
| purifiedCrushedLeadOre; // Purify Crushed Lead Ore, meta sensitive |
| |
| // dusts |
| stoneDust; |
| bronzeDust; // Bronze Dust item, meta sensitive, ore dictionary: dustBronze |
| clayDust; // Clay Dust item, meta sensitive, ore dictionary: dustClay |
| coalDust; // Coal Dust item, meta sensitive, ore dictionary: dustCoal |
| copperDust; // Copper Dust item, meta sensitive, ore dictionary: dustCopper |
| goldDust; // Gold Dust item, meta sensitive, ore dictionary: dustGold |
| ironDust; // Iron Dust item, meta sensitive, ore dictionary: dustIron |
| silverDust; // Silver Dust item, meta sensitive, ore dictionary: dustSilver |
| tinDust; // Tin Dust item, meta sensitive, ore dictionary: dustTin |
| hydratedCoalDust; // Hydrated Coal Dust item, meta sensitive |
| leadDust; // Lead Dust item, meta sensitive, ore dictionary: dustLead |
| obsidianDust; // Obsidian Dust item, meta sensitive, ore dictionary: dustObsidian |
| lapiDust; // Lapi Dust item, meta sensitive, ore dictionary: dustLapi |
| sulfurDust; // Sulfur Dust item, meta sensitive, ore dictionary: dustSulfur |
| lithiumDust; // Lithium dust, meta sensitive, ore dictionary: dustLithium |
| |
| // small dusts |
| |
| smallIronDust; // Small Iron Dust item, meta sensitive |
| smallCopperDust; // Small Copper Dust item, meta sensitive |
| smallGoldDust; // Small Gold Dust item, meta sensitive |
| smallTinDust; // Small Tin Dust item, meta sensitive |
| smallSilverDust; // Small Silver Dust item, meta sensitive |
| smallLeadDust; // Small Lead Dust item, meta sensitive |
| smallSulfurDust; // Small Sulfur Dust item, meta sensitive |
| smallLithiumDust; // Small Lithium Dust item, meta sensitive |
| |
| |
| // ingots |
| @Deprecated |
| refinedIronIngot; // Refined Iron Ingot item, currently not meta sensitive, ore dictionary: ingotRefinedIron |
| copperIngot; // Copper Ingot item, currently not meta sensitive, ore dictionary: ingotCopper |
| tinIngot; // Tin Ingot item, currently not meta sensitive, ore dictionary: ingotTin |
| bronzeIngot; // Bronze Ingot item, currently not meta sensitive, ore dictionary: ingotBronze |
| mixedMetalIngot; // Mixed Metal Ingot item, currently not meta sensitive |
| leadIngot; // Lead Ingot item, currently not meta sensitive |
| |
| |
| // tools/weapons (without electric tools) |
| treetap; // Treetap item, meta = damage value |
| wrench; // Wrench item, meta = damage value |
| cutter; // Insulation Cutter item, meta = damage value |
| constructionFoamSprayer; // Construction Foam Sprayer item, meta = charges (as of v1.45) |
| |
| bronzePickaxe; // Bronze Pickaxe item, meta = damage value |
| bronzeAxe; // Bronze Axe item, meta = damage value |
| bronzeSword; // Bronze Sword item, meta = damage value |
| bronzeShovel; // Bronze Shovel item, meta = damage value |
| bronzeHoe; // Bronze Hoe item, meta = damage value |
| |
| ForgeHammer; // Refine Iron Hammer item, meta = damage value |
| |
| // el. tools/devices/weapons |
| miningDrill; // Mining Drill item, meta = damage value for charge level |
| diamondDrill; // Diamond Tipped Mining Drill item, meta = damage value for charge level |
| iridiumDrill; // Iridium Tipped Mining Drill item, meta = damage value for charge level |
| chainsaw; // Chainsaw item, meta = damage value for charge level |
| electricWrench; // Electric Wrench item, meta = damage value for charge level |
| electricTreetap; // Electric Treetap item, meta = damage value for charge level |
| miningLaser; // Mining Laser item, meta = damage value for charge level |
| |
| ecMeter; // EC-Mater item, meta = itemdata db index (as of v1.45) |
| odScanner; // Ore Density Scanner item, meta = damage value for charge level |
| ovScanner; // Ore Value Scanner item, meta = damage value for charge level |
| obscurator; // Obscurator item, meta = damage value for charge level |
| |
| frequencyTransmitter; // Frequency Transmitter item, meta = itemdata db index (as of v1.45) |
| |
| nanoSaber; // Idle Nano Saber item, meta = damage value for charge level |
| enabledNanoSaber; // Enabled Nano Saber item, meta = damage value for charge level |
| |
| toolbox; // Open/Empty toolbox, meta = Open (0) / Closed (1) |
| |
| // armor/wearable |
| hazmatHelmet; // Hazmat Helmet item, meta = damage value |
| hazmatChestplate; // Hazmat Chestplate item, meta = damage value |
| hazmatLeggings; // Hazmat Leggings item, meta = damage value |
| hazmatBoots; // Hazmat Boots item, meta = damage value |
| |
| bronzeHelmet; // Bronze Helmet Armor item, meta = damage value |
| bronzeChestplate; // Bronze Chestplate Armor item, meta = damage value |
| bronzeLeggings; // Bronze Leggings Armor item, meta = damage value |
| bronzeBoots; // Bronze Boots Armor item, meta = damage value |
| |
| compositeArmor; // Composite Armor item, meta = damage value for charge level |
| |
| nanoHelmet; // Nano Helmet Armor item, meta = damage value for charge level |
| nanoBodyarmor; // Nano Bodyarmor item, meta = damage value for charge level |
| nanoLeggings; // Nano Leggings Armor item, meta = damage value for charge level |
| nanoBoots; // Nano Boots Armor item, meta = damage value for charge level |
| |
| quantumHelmet; // Quantum Helmet Armor item, meta = damage value for charge level |
| quantumBodyarmor; // Quantum Bodyarmor item, meta = damage value for charge level |
| quantumLeggings; // Quantum Leggings Armor item, meta = damage value for charge level |
| quantumBoots; // Quantum Boots Armor item, meta = damage value for charge level |
| |
| jetpack; // Jetpack item, meta = damage value for fuel level |
| electricJetpack; // Electric Jetpack item, meta = damage value for charge level |
| |
| batPack; // BatPack item, meta = damage value for charge level |
| advbatPack; // Adv.BatPack item, meta = damage value for charge level |
| lapPack; // LapPack item, meta = damage value for charge level |
| energyPack; // EnergyPack item, meta = damage value for charge level |
| |
| cfPack; // CF Pack item, meta = charges (as of v1.45) |
| solarHelmet; // Solar Helmet, currently not meta sensitive |
| staticBoots; // Static Boots, currently not meta sensitive |
| nightvisionGoggles; // Nightvision Goggles, meta = damage value for charge level |
| |
| // batteries |
| reBattery; // Empty RE Battery item, currently not meta sensitive |
| chargedReBattery; // RE Battery item, meta = damage value for charge level |
| advBattery; // Adv Batteryitem, meta = damage value for charge level |
| energyCrystal; // Energy Crystal item, meta = damage value for charge level |
| lapotronCrystal; // Lapotron Crystal item, meta = damage value for charge level |
| suBattery; // SU Battery item, meta = damage value for charge level |
| |
| // cables |
| copperCableItem; // Copper Cable item, meta sensitive |
| insulatedCopperCableItem; // Insulated Copper Cable item, meta sensitive |
| |
| goldCableItem; // Gold Cable item, meta sensitive |
| insulatedGoldCableItem; // Insulated Gold Cable item, meta sensitive |
| |
| @Deprecated |
| doubleInsulatedGoldCableItem; // Double Insulated Gold Cable item, meta sensitive |
| |
| ironCableItem; // Iron Cable item, meta sensitive |
| insulatedIronCableItem; // Insulated Iron Cable item, meta sensitive |
| |
| @Deprecated |
| doubleInsulatedIronCableItem; // Double Insulated Iron Cable item, meta sensitive |
| @Deprecated |
| trippleInsulatedIronCableItem; // Tripple Insulated Iron Cable item, meta sensitive |
| insulatedTinCableItem; |
| glassFiberCableItem; // Glass Fiber Cable item, meta sensitive |
| tinCableItem; // Tin Cable item, meta sensitive |
| |
| |
| detectorCableItem; // Detector Cable item, meta sensitive |
| splitterCableItem; // Splitter Cable item, meta sensitive |
| |
| // cells/containers (without reactor components) |
| |
| cell; // Empty Cell item, meta sensitive |
| lavaCell; // Lava Cell item, meta sensitive |
| waterCell; // Water Cell item, meta sensitive |
| UuMatterCell; // UUMatter Cell item, meta sensitive |
| CFCell; // constructionFoam Cell item, meta sensitive |
| |
| |
| fuelRod; // Empy Fuel Rod item, currently not meta sensitive |
| hydratedCoalCell; // Hydrated Coal Cell item, currently not meta sensitive |
| bioCell; // Bio Cell item, currently not meta sensitive |
| coalfuelCell; // Coalfuel Cell item, currently not meta sensitive |
| biofuelCell; // Biofuel Cell item, currently not meta sensitive |
| electrolyzedWaterCell; // Electrolyzed Water Cell item, currently not meta sensitive |
| airCell; // Compressed Air item, currently not meta sensitive |
| |
| fuelCan; // Empty Fuel Can item, currently not meta sensitive |
| filledFuelCan; // Fuel Can item, meta = fuel value (as of v1.45) |
| |
| tinCan; // Empty Tin Can item, currently not meta sensitive |
| filledTinCan; // Filled Tin Can item, currently not meta sensitive |
| |
| // reactor components |
| reactorUraniumSimple; // Uranium Cell items, meta = consumed uranium ticks |
| reactorUraniumDual; |
| reactorUraniumQuad; |
| |
| reactorCoolantSimple; |
| reactorCoolantTriple ; // Coolant Cell item, NBT for heat-storage, meta is 0-10000 for display |
| reactorCoolantSix; |
| |
| reactorPlating; // Integrated Reactor Plating item, currently not meta sensitive |
| reactorPlatingHeat; |
| reactorPlatingExplosive; |
| |
| reactorHeatSwitch; // Integrated Heat Disperser item, NBT for heat-storage, meta is 0-10000 for display |
| reactorHeatSwitchCore; |
| reactorHeatSwitchSpread; |
| reactorHeatSwitchDiamond; |
| |
| reactorVent; // Heat Venting component, NBT for heat-storage, meta is 0-10000 for display |
| reactorVentCore; |
| reactorVentGold; |
| reactorVentSpread;// Special: Does not store heat |
| reactorVentDiamond; |
| |
| reactorReflector; // Increase efficiency without additional ticks, NBT for heat-storage, meta is 0-10000 for display |
| reactorReflectorThick; // Increase efficiency without additional ticks, NBT for heat-storage, meta is 0-10000 for display |
| reactorCondensator; // Consumes redstone to absorb heat, NBT for storage, meta is 0-10000 for display |
| reactorCondensatorLap; // Consumes redstone/lapis to absorb heat, mNBT for storage, meta is 0-10000 for display |
| |
| // terraformer blueprints |
| terraformerBlueprint; // Empty Terraformer Blueprint item, currently not meta sensitive |
| cultivationTerraformerBlueprint; // Cultivation Terraformer Blueprint item, currently not meta sensitive |
| irrigationTerraformerBlueprint; // Irrigation Terraformer Blueprint item, currently not meta sensitive |
| chillingTerraformerBlueprint; // Chilling Terraformer Blueprint item, currently not meta sensitive |
| desertificationTerraformerBlueprint; // Desertification Terraformer Blueprint item, currently not meta sensitive |
| flatificatorTerraformerBlueprint; // Flatificator Terraformer Blueprint item, currently not meta sensitive |
| mushroomTerraformerBlueprint; // Mushroom Terraformer Blueprint item, currently not meta sensitive |
| |
| // diamond chain |
| coalBall; // Coal Ball item, currently not meta sensitive |
| compressedCoalBall; // Compressed Coal Ball item, currently not meta sensitive |
| coalChunk; // Coal Chunk item, currently not meta sensitive |
| industrialDiamond; // Industrial Diamond item, currently not meta sensitive, DEPRECATED |
| |
| // recycler chain |
| scrap; // Scrap item, currently not meta sensitive |
| scrapBox; // Scrap Box item, currently not meta sensitive |
| |
| // fuel production chain |
| hydratedCoalClump; // Hydrated Coal Clump item, currently not meta sensitive |
| plantBall; // Plant Ball item, currently not meta sensitive |
| compressedPlantBall; // Compressed Plant Ball item, currently not meta sensitive |
| |
| // painting |
| painter; // Painter item, currently not meta sensitive |
| |
| blackPainter; // Black Painter item, meta = damage value |
| redPainter; // Red Painter item, meta = damage value |
| greenPainter; // Green Painter item, meta = damage value |
| brownPainter; // Brown Painter item, meta = damage value |
| bluePainter; // Blue Painter item, meta = damage value |
| purplePainter; // Purple Painter item, meta = damage value |
| cyanPainter; // Cyan Painter item, meta = damage value |
| lightGreyPainter; // Light Grey Painter item, meta = damage value |
| darkGreyPainter; // Dark Grey Painter item, meta = damage value |
| pinkPainter; // Pink Painter item, meta = damage value |
| limePainter; // Lime Painter item, meta = damage value |
| yellowPainter; // Yellow Painter item, meta = damage value |
| cloudPainter; // Cloud Painter item, meta = damage value |
| magentaPainter; // Magenta Painter item, meta = damage value |
| orangePainter; // Orange Painter item, meta = damage value |
| whitePainter; // White Painter item, meta = damage value |
| |
| // explosives + related |
| dynamite; // Throwable Dynamite item, currently not meta sensitive |
| stickyDynamite; // Throwable Sticky Dynamite item, currently not meta sensitive |
| |
| remote; // Dynamite Remote item, currently not meta sensitive |
| |
| // misc intermediate recipe ingredients |
| electronicCircuit; // Electronic Circuit item, currently not meta sensitive |
| advancedCircuit; // Advanced Circuit item, currently not meta sensitive |
| |
| advancedAlloy; // Advanced Alloy item, currently not meta sensitive |
| |
| carbonFiber; // Raw Carbon Fiber item, currently not meta sensitive |
| carbonMesh; // Raw Carbon Mesh item, currently not meta sensitive |
| carbonPlate; // Carbon Plate item, currently not meta sensitive |
| |
| matter; // UUA item, currently not meta sensitive |
| iridiumOre; // Iridium Ore item, currently not meta sensitive |
| iridiumPlate; // Iridium Plate item, currently not meta sensitive |
| |
| |
| // Metal Plates |
| |
| platecopper; // Metal plate item, meta sensitive |
| platetin; // Metal plate item, meta sensitive |
| platebronze; // Metal plate item, meta sensitive |
| plategold; // Metal plate item, meta sensitive |
| plateiron; // Metal plate item, meta sensitive |
| platelead; // Metal plate item, meta sensitive |
| platelapi; // Metal plate item, meta sensitive |
| plateobsidian; // Metal plate item, meta sensitive |
| plateadviron; // Metal plate item, meta sensitive |
| |
| // Metal Dense Plates |
| denseplatecopper; // Metal dense plate item, meta sensitive |
| denseplatetin; // Metal dense plate item, meta sensitive |
| denseplatebronze; // Metal dense plate item, meta sensitive |
| denseplategold; // Metal dense plate item, meta sensitive |
| denseplateiron; // Metal dense plate item, meta sensitive |
| @Deprecated |
| denseplateadviron; // Metal dense plate item, meta sensitive |
| denseplatelead; // Metal dense plate item, meta sensitive |
| denseplatelapi; // Metal dense plate item, meta sensitive |
| denseplateobsidian; // Metal dense plate item, meta sensitive |
| |
| |
| |
| // upgrade modules |
| overclockerUpgrade; // overclocker upgrade item, meta sensitive |
| transformerUpgrade; // transformer upgrade item, meta sensitive |
| energyStorageUpgrade; // energy storage upgrade item, meta sensitive |
| ejectorUpgrade; // ejector upgrade item, meta sensitive |
| |
| // misc |
| coin; // Coin item, currently not meta sensitive |
| reinforcedDoor; // Reinforced Door item, currently not meta sensitive |
| constructionFoamPowder; // Construction Foam Powder item, currently not meta sensitive |
| grinPowder; // Poisonous ingrident, currently not meta sensitive |
| debug; // Debug item, currently not meta sensitive |
| boatCarbon; // Carbon Fiber Canoe item, meta sensitive |
| boatRubber; // Rubber Dinghy item, meta sensitive |
| boatRubberBroken; // Damaged Rubber Dinghy item, meta sensitive |
| boatElectric; // Electric Boat item, meta sensitive |
| |
| //Agriculture |
| cropSeed; // Crop seeds, stuff stored in NBT, don't use for crafting recipes! |
| cropnalyzer; // Cropnalyzer handheld device |
| fertilizer; // Basic IC2Item, used to provide nutrients toCropBlocks |
| hydratingCell; // Cell used to hydrate Crops, meta = Content, 0= Full, 9999 = Near empty |
| electricHoe; // Electric Hoe, Metadata indicates charge level |
| terraWart; // Mystic opposite of NEtherWart, cures StatusEffects, simply consumeable |
| weedEx; // Spraying can of WEED-EX, meta indicates usages left |
| |
| //Boozeception |
| mugEmpty; // Simple stone mug |
| coffeeBeans; // Harvested CoffeeBeans |
| coffeePowder; // Processed Coffee Beans, used to craft drinkable Coffee |
| mugCoffee; // Mug of Coffee, Meta indicates status 0 = cold, 1 = Normal, 2 = Sugar'd |
| hops; // Hops, harvested freshly from crop |
| barrel; // Carried Barrel, metadata encrypts the information about the liquid inside |
| blockBarrel; // Unobtainable "placed barrel", TileEntity controlling the Fermentation process |
| mugBooze; // Mug filled with booze, metadata encrypts the information about the liquid inside |
| |
| */ |
| |
| /** |
| * Get the base IC2 package name, used internally. |
| * |
| * @return IC2 package name, if unable to be determined defaults to ic2 |
| */ |
| private static String getPackage() { |
| Package pkg = IC2Items.class.getPackage(); |
| |
| if (pkg != null) { |
| String packageName = pkg.getName(); |
| |
| return packageName.substring(0, packageName.length() - ".api.item".length()); |
| } |
| |
| return "ic2"; |
| } |
| |
| private static Class<?> Ic2Items; |
| } |
| |