Finished ModItems

This commit is contained in:
Arcaratus 2015-07-30 15:53:50 -04:00
parent a9507b3b68
commit d88cc2d79e
9 changed files with 158 additions and 268 deletions

View file

@ -563,7 +563,6 @@ public class AlchemicalWizardry
ModBlocks.init(); ModBlocks.init();
ModItems.init(); ModItems.init();
ModItems.registerItems();
RecipeSorter.register("AWWayofTime:shapedorb", ShapedBloodOrbRecipe.class, Category.SHAPED, "before:minecraft:shapeless"); RecipeSorter.register("AWWayofTime:shapedorb", ShapedBloodOrbRecipe.class, Category.SHAPED, "before:minecraft:shapeless");
RecipeSorter.register("AWWayofTime:shapelessorb", ShapelessBloodOrbRecipe.class, Category.SHAPELESS, "after:minecraft:shapeless"); RecipeSorter.register("AWWayofTime:shapelessorb", ShapelessBloodOrbRecipe.class, Category.SHAPELESS, "after:minecraft:shapeless");
@ -1535,10 +1534,10 @@ public class AlchemicalWizardry
ReagentRegistry.registerItemAndReagent(new ItemStack(ModItems.baseAlchemyItems, 1, 7), new ReagentStack(ReagentRegistry.reductusReagent, 1000)); ReagentRegistry.registerItemAndReagent(new ItemStack(ModItems.baseAlchemyItems, 1, 7), new ReagentStack(ReagentRegistry.reductusReagent, 1000));
ReagentRegistry.registerItemAndReagent(new ItemStack(ModItems.baseAlchemyItems, 1, 8), new ReagentStack(ReagentRegistry.potentiaReagent, 1000)); ReagentRegistry.registerItemAndReagent(new ItemStack(ModItems.baseAlchemyItems, 1, 8), new ReagentStack(ReagentRegistry.potentiaReagent, 1000));
OmegaRegistry.registerParadigm(ReagentRegistry.aquasalusReagent, new OmegaParadigmWater((OmegaArmour)ModItems.boundHelmetWater, (OmegaArmour)ModItems.boundPlateWater, (OmegaArmour)ModItems.boundLeggingsWater, (OmegaArmour)ModItems.boundBootsWater)); OmegaRegistry.registerParadigm(ReagentRegistry.aquasalusReagent, new OmegaParadigmWater((OmegaArmour)ModItems.boundHelmetWater, (OmegaArmour)ModItems.boundChestplateWater, (OmegaArmour)ModItems.boundLeggingsWater, (OmegaArmour)ModItems.boundBootsWater));
OmegaRegistry.registerParadigm(ReagentRegistry.terraeReagent, new OmegaParadigmEarth((OmegaArmour)ModItems.boundHelmetEarth, (OmegaArmour)ModItems.boundPlateEarth, (OmegaArmour)ModItems.boundLeggingsEarth, (OmegaArmour)ModItems.boundBootsEarth)); OmegaRegistry.registerParadigm(ReagentRegistry.terraeReagent, new OmegaParadigmEarth((OmegaArmour)ModItems.boundHelmetEarth, (OmegaArmour)ModItems.boundChestplateEarth, (OmegaArmour)ModItems.boundLeggingsEarth, (OmegaArmour)ModItems.boundBootsEarth));
OmegaRegistry.registerParadigm(ReagentRegistry.aetherReagent, new OmegaParadigmWind((OmegaArmour)ModItems.boundHelmetWind, (OmegaArmour)ModItems.boundPlateWind, (OmegaArmour)ModItems.boundLeggingsWind, (OmegaArmour)ModItems.boundBootsWind)); OmegaRegistry.registerParadigm(ReagentRegistry.aetherReagent, new OmegaParadigmWind((OmegaArmour)ModItems.boundHelmetWind, (OmegaArmour)ModItems.boundChestplateWind, (OmegaArmour)ModItems.boundLeggingsWind, (OmegaArmour)ModItems.boundBootsWind));
OmegaRegistry.registerParadigm(ReagentRegistry.incendiumReagent, new OmegaParadigmFire((OmegaArmour)ModItems.boundHelmetFire, (OmegaArmour)ModItems.boundPlateFire, (OmegaArmour)ModItems.boundLeggingsFire, (OmegaArmour)ModItems.boundBootsFire)); OmegaRegistry.registerParadigm(ReagentRegistry.incendiumReagent, new OmegaParadigmFire((OmegaArmour)ModItems.boundHelmetFire, (OmegaArmour)ModItems.boundChestplateFire, (OmegaArmour)ModItems.boundLeggingsFire, (OmegaArmour)ModItems.boundBootsFire));
} }

View file

@ -28,7 +28,7 @@ import WayofTime.alchemicalWizardry.common.items.EarthScribeTool;
import WayofTime.alchemicalWizardry.common.items.EnergyBattery; import WayofTime.alchemicalWizardry.common.items.EnergyBattery;
import WayofTime.alchemicalWizardry.common.items.EnergyBazooka; import WayofTime.alchemicalWizardry.common.items.EnergyBazooka;
import WayofTime.alchemicalWizardry.common.items.EnergyBlast; import WayofTime.alchemicalWizardry.common.items.EnergyBlast;
import WayofTime.alchemicalWizardry.common.items.EnergySword; import WayofTime.alchemicalWizardry.common.items.BoundBlade;
import WayofTime.alchemicalWizardry.common.items.EnhancedTelepositionFocus; import WayofTime.alchemicalWizardry.common.items.EnhancedTelepositionFocus;
import WayofTime.alchemicalWizardry.common.items.FireScribeTool; import WayofTime.alchemicalWizardry.common.items.FireScribeTool;
import WayofTime.alchemicalWizardry.common.items.ItemAlchemyBase; import WayofTime.alchemicalWizardry.common.items.ItemAlchemyBase;
@ -94,6 +94,8 @@ import WayofTime.alchemicalWizardry.common.items.sigil.SigilVoid;
import WayofTime.alchemicalWizardry.common.items.sigil.SigilWater; import WayofTime.alchemicalWizardry.common.items.sigil.SigilWater;
import WayofTime.alchemicalWizardry.common.items.sigil.holding.SigilOfHolding; import WayofTime.alchemicalWizardry.common.items.sigil.holding.SigilOfHolding;
import java.util.ArrayList;
/** /**
* Created with IntelliJ IDEA. * Created with IntelliJ IDEA.
* User: Pokefenn * User: Pokefenn
@ -131,7 +133,7 @@ public class ModItems
public static Item boundAxe; public static Item boundAxe;
public static Item boundShovel; public static Item boundShovel;
public static Item boundHelmet; public static Item boundHelmet;
public static Item boundPlate; public static Item boundChestplate;
public static Item boundLeggings; public static Item boundLeggings;
public static Item boundBoots; public static Item boundBoots;
public static Item weakBloodShard; public static Item weakBloodShard;
@ -216,22 +218,22 @@ public class ModItems
public static Item itemAssassinSigil; public static Item itemAssassinSigil;
public static Item boundHelmetWater; public static Item boundHelmetWater;
public static Item boundPlateWater; public static Item boundChestplateWater;
public static Item boundLeggingsWater; public static Item boundLeggingsWater;
public static Item boundBootsWater; public static Item boundBootsWater;
public static Item boundHelmetEarth; public static Item boundHelmetEarth;
public static Item boundPlateEarth; public static Item boundChestplateEarth;
public static Item boundLeggingsEarth; public static Item boundLeggingsEarth;
public static Item boundBootsEarth; public static Item boundBootsEarth;
public static Item boundHelmetWind; public static Item boundHelmetWind;
public static Item boundPlateWind; public static Item boundChestplateWind;
public static Item boundLeggingsWind; public static Item boundLeggingsWind;
public static Item boundBootsWind; public static Item boundBootsWind;
public static Item boundHelmetFire; public static Item boundHelmetFire;
public static Item boundPlateFire; public static Item boundChestplateFire;
public static Item boundLeggingsFire; public static Item boundLeggingsFire;
public static Item boundBootsFire; public static Item boundBootsFire;
@ -244,269 +246,159 @@ public class ModItems
public static Item ritualDismantler; public static Item ritualDismantler;
public static ArrayList<String> itemsNotToBeRegistered = new ArrayList<String>();
public static void init() public static void init()
{ {
weakBloodOrb = new EnergyBattery(5000).setUnlocalizedName("weakBloodOrb"); weakBloodOrb = registerItem(new EnergyBattery(5000), "weak_blood_orb");
apprenticeBloodOrb = new ApprenticeBloodOrb(25000).setUnlocalizedName("apprenticeBloodOrb"); apprenticeBloodOrb = registerItem(new ApprenticeBloodOrb(25000), "apprentice_blood_orb");
magicianBloodOrb = new MagicianBloodOrb(150000).setUnlocalizedName("magicianBloodOrb"); magicianBloodOrb = registerItem(new MagicianBloodOrb(150000), "magician_blood_orb");
masterBloodOrb = new MasterBloodOrb(1000000).setUnlocalizedName("masterBloodOrb"); masterBloodOrb = registerItem(new MasterBloodOrb(1000000), "master_blood_orb");
archmageBloodOrb = new ArchmageBloodOrb(10000000).setUnlocalizedName("archmageBloodOrb"); archmageBloodOrb = registerItem(new ArchmageBloodOrb(10000000), "archmage_blood_orb");
transcendentBloodOrb = new TranscendentBloodOrb(30000000).setUnlocalizedName("transcendentBloodOrb"); transcendentBloodOrb = registerItem(new TranscendentBloodOrb(30000000), "transcendent_blood_orb");
energyBlaster = new EnergyBlast().setUnlocalizedName("energyBlast"); energyBlaster = registerItem(new EnergyBlast(), "energy_blaster");
energySword = new EnergySword().setUnlocalizedName("energySword"); energySword = registerItem(new BoundBlade(), "bound_blade");
lavaCrystal = new LavaCrystal().setUnlocalizedName("lavaCrystal"); lavaCrystal = registerItem(new LavaCrystal(), "lava_crystal");
waterSigil = new SigilWater().setUnlocalizedName("waterSigil"); waterSigil = registerItem(new SigilWater(), "water_sigil");
lavaSigil = new SigilLava().setUnlocalizedName("lavaSigil"); lavaSigil = registerItem(new SigilLava(), "lava_sigil");
voidSigil = new SigilVoid().setUnlocalizedName("voidSigil"); voidSigil = registerItem(new SigilVoid(), "void_sigil");
blankSlate = new AWBaseItems().setUnlocalizedName("blankSlate"); blankSlate = registerItem(new AWBaseItems(), "blank_slate");
reinforcedSlate = new AWBaseItems().setUnlocalizedName("reinforcedSlate"); reinforcedSlate = registerItem(new AWBaseItems(), "reinforced_slate");
sacrificialDagger = new SacrificialDagger().setUnlocalizedName("sacrificialDagger"); sacrificialDagger = registerItem(new SacrificialDagger(), "sacrificial_agger");
daggerOfSacrifice = new DaggerOfSacrifice().setUnlocalizedName("daggerOfSacrifice"); daggerOfSacrifice = registerItem(new DaggerOfSacrifice(), "dagger_of_sacrifice");
airSigil = new SigilAir().setUnlocalizedName("airSigil"); airSigil = registerItem(new SigilAir(), "air_sigil");
sigilOfTheFastMiner = new SigilOfTheFastMiner().setUnlocalizedName("sigilOfTheFastMiner"); sigilOfTheFastMiner = registerItem(new SigilOfTheFastMiner(), "sigil_of_the_fast_miner");
sigilOfElementalAffinity = new SigilOfElementalAffinity().setUnlocalizedName("sigilOfElementalAffinity"); sigilOfElementalAffinity = registerItem(new SigilOfElementalAffinity(), "sigil_of_elemental_affinity");
sigilOfHaste = new SigilOfHaste().setUnlocalizedName("sigilOfHaste"); sigilOfHaste = registerItem(new SigilOfHaste(), "sigil_of_haste");
sigilOfHolding = new SigilOfHolding().setUnlocalizedName("sigilOfHolding"); sigilOfHolding = registerItem(new SigilOfHolding(), "sigil_of_holding");
divinationSigil = new SigilDivination().setUnlocalizedName("divinationSigil"); divinationSigil = registerItem(new SigilDivination(), "divination_sigil");
waterScribeTool = new WaterScribeTool().setUnlocalizedName("waterScribeTool"); waterScribeTool = registerItem(new WaterScribeTool(), "water_scribe_tool");
fireScribeTool = new FireScribeTool().setUnlocalizedName("fireScribeTool"); fireScribeTool = registerItem(new FireScribeTool(), "fire_scribe_tool");
earthScribeTool = new EarthScribeTool().setUnlocalizedName("earthScribeTool"); earthScribeTool = registerItem(new EarthScribeTool(), "earth_scribe_tool");
airScribeTool = new AirScribeTool().setUnlocalizedName("airScribeTool"); airScribeTool = registerItem(new AirScribeTool(), "air_scribe_tool");
activationCrystal = new ActivationCrystal(); activationCrystal = registerItem(new ActivationCrystal(), "activation_crystal");
boundPickaxe = new BoundPickaxe().setUnlocalizedName("boundPickaxe"); boundPickaxe = registerItem(new BoundPickaxe(), "bound_pickaxe");
boundAxe = new BoundAxe().setUnlocalizedName("boundAxe"); boundAxe = registerItem(new BoundAxe(), "bound_axe");
boundShovel = new BoundShovel().setUnlocalizedName("boundShovel"); boundShovel = registerItem(new BoundShovel(), "bound_shovel");
boundHelmet = new BoundArmour(0).setUnlocalizedName("boundHelmet"); boundHelmet = registerItem(new BoundArmour(0), "bound_helmet");
boundPlate = new BoundArmour(1).setUnlocalizedName("boundPlate"); boundChestplate = registerItem(new BoundArmour(1), "bound_chestplate");
boundLeggings = new BoundArmour(2).setUnlocalizedName("boundLeggings"); boundLeggings = registerItem(new BoundArmour(2), "bound_leggings");
boundBoots = new BoundArmour(3).setUnlocalizedName("boundBoots"); boundBoots = registerItem(new BoundArmour(3), "bound_boots");
weakBloodShard = new BloodShard().setUnlocalizedName("weakBloodShard"); weakBloodShard = registerItem(new BloodShard(), "weak_blood_shard");
growthSigil = new SigilOfGrowth().setUnlocalizedName("growthSigil"); growthSigil = registerItem(new SigilOfGrowth(), "growth_sigil");
blankSpell = new BlankSpell().setUnlocalizedName("blankSpell"); blankSpell = registerItem(new BlankSpell(), "blank_spell");
alchemyFlask = new AlchemyFlask().setUnlocalizedName("alchemyFlask"); alchemyFlask = registerItem(new AlchemyFlask(), "alchemy_flask");
standardBindingAgent = new StandardBindingAgent().setUnlocalizedName("standardBindingAgent"); standardBindingAgent = registerItem(new StandardBindingAgent(), "standard_binding_agent");
mundanePowerCatalyst = new MundanePowerCatalyst().setUnlocalizedName("mundanePowerCatalyst"); mundanePowerCatalyst = registerItem(new MundanePowerCatalyst(), "mundane_power_catalyst");
averagePowerCatalyst = new AveragePowerCatalyst().setUnlocalizedName("averagePowerCatalyst"); averagePowerCatalyst = registerItem(new AveragePowerCatalyst(), "average_power_catalyst");
greaterPowerCatalyst = new GreaterPowerCatalyst().setUnlocalizedName("greaterPowerCatalyst"); greaterPowerCatalyst = registerItem(new GreaterPowerCatalyst(), "greater_power_catalyst");
mundaneLengtheningCatalyst = new MundaneLengtheningCatalyst().setUnlocalizedName("mundaneLengtheningCatalyst"); mundaneLengtheningCatalyst = registerItem(new MundaneLengtheningCatalyst(), "mundane_lengthening_catalyst");
averageLengtheningCatalyst = new AverageLengtheningCatalyst().setUnlocalizedName("averageLengtheningCatalyst"); averageLengtheningCatalyst = registerItem(new AverageLengtheningCatalyst(), "average_lengthening_catalyst");
greaterLengtheningCatalyst = new GreaterLengtheningCatalyst().setUnlocalizedName("greaterLengtheningCatalyst"); greaterLengtheningCatalyst = registerItem(new GreaterLengtheningCatalyst(), "greater_lengthening_catalyst");
incendium = new AlchemyReagent().setUnlocalizedName("incendium"); incendium = registerItem(new AlchemyReagent(), "incendium");
magicales = new AlchemyReagent().setUnlocalizedName("magicales"); magicales = registerItem(new AlchemyReagent(), "magicales");
sanctus = new AlchemyReagent().setUnlocalizedName("sanctus"); sanctus = registerItem(new AlchemyReagent(), "sanctus");
aether = new AlchemyReagent().setUnlocalizedName("aether"); aether = registerItem(new AlchemyReagent(), "aether");
simpleCatalyst = new AlchemyReagent().setUnlocalizedName("simpleCatalyst"); simpleCatalyst = registerItem(new AlchemyReagent(), "simple_catalyst");
crepitous = new AlchemyReagent().setUnlocalizedName("crepitous"); crepitous = registerItem(new AlchemyReagent(), "crepitous");
crystallos = new AlchemyReagent().setUnlocalizedName("crystallos"); crystallos = registerItem(new AlchemyReagent(), "crystallos");
terrae = new AlchemyReagent().setUnlocalizedName("terrae"); terrae = registerItem(new AlchemyReagent(), "terrae");
aquasalus = new AlchemyReagent().setUnlocalizedName("aquasalus"); aquasalus = registerItem(new AlchemyReagent(), "aquasalus");
tennebrae = new AlchemyReagent().setUnlocalizedName("tennebrae"); tennebrae = registerItem(new AlchemyReagent(), "tennebrae");
demonBloodShard = new BloodShard().setUnlocalizedName("demonBloodShard"); demonBloodShard = registerItem(new BloodShard(), "demon_blood_shard");
sigilOfWind = new SigilOfWind().setUnlocalizedName("sigilOfWind"); sigilOfWind = registerItem(new SigilOfWind(), "sigil_of_wind");
telepositionFocus = new TelepositionFocus(1).setUnlocalizedName("telepositionFocus"); telepositionFocus = registerItem(new TelepositionFocus(1), "teleposition_focus");
enhancedTelepositionFocus = new EnhancedTelepositionFocus().setUnlocalizedName("enhancedTelepositionFocus"); enhancedTelepositionFocus = registerItem(new EnhancedTelepositionFocus(), "enhanced_teleposition_focus");
reinforcedTelepositionFocus = new ReinforcedTelepositionFocus().setUnlocalizedName("reinforcedTelepositionFocus"); reinforcedTelepositionFocus = registerItem(new ReinforcedTelepositionFocus(), "reinforced_teleposition_focus");
demonicTelepositionFocus = new DemonicTelepositionFocus().setUnlocalizedName("demonicTelepositionFocus"); demonicTelepositionFocus = registerItem(new DemonicTelepositionFocus(), "demonic_teleposition_focus");
imbuedSlate = new AWBaseItems().setUnlocalizedName("imbuedSlate"); imbuedSlate = registerItem(new AWBaseItems(), "imbued_slate");
demonicSlate = new AWBaseItems().setUnlocalizedName("demonicSlate"); demonicSlate = registerItem(new AWBaseItems(), "demonic_slate");
duskScribeTool = new DuskScribeTool().setUnlocalizedName("duskScribeTool"); duskScribeTool = registerItem(new DuskScribeTool(), "dusk_scribe_tool");
sigilOfTheBridge = new SigilOfTheBridge().setUnlocalizedName("sigilOfTheBridge"); sigilOfTheBridge = registerItem(new SigilOfTheBridge(), "sigil_of_the_bridge");
armourInhibitor = new ArmourInhibitor().setUnlocalizedName("armourInhibitor"); armourInhibitor = registerItem(new ArmourInhibitor(), "armour_inhibitor");
creativeFiller = new CheatyItem().setUnlocalizedName("cheatyItem"); creativeFiller = registerItem(new CheatyItem(), "creative_orb");
demonPlacer = new DemonPlacer().setUnlocalizedName("demonPlacer"); demonPlacer = registerItem(new DemonPlacer(), "demon_placer");
creativeDagger = new CreativeDagger().setUnlocalizedName("creativeDagger"); creativeDagger = registerItem(new CreativeDagger(), "creative_dagger");
weakFillingAgent = new WeakFillingAgent().setUnlocalizedName("weakFillingAgent"); weakFillingAgent = registerItem(new WeakFillingAgent(), "weak_filling_agent");
standardFillingAgent = new StandardFillingAgent().setUnlocalizedName("standardFillingAgent"); standardFillingAgent = registerItem(new StandardFillingAgent(), "standard_filling_agent");
enhancedFillingAgent = new EnhancedFillingAgent().setUnlocalizedName("enhancedFillingAgent"); enhancedFillingAgent = registerItem(new EnhancedFillingAgent(), "enhanced_filling_agent");
weakBindingAgent = new WeakBindingAgent().setUnlocalizedName("weakBindingAgent"); weakBindingAgent = registerItem(new WeakBindingAgent(), "weak_binding_agent");
itemRitualDiviner = new ItemRitualDiviner().setUnlocalizedName("ritualDiviner"); itemRitualDiviner = registerItem(new ItemRitualDiviner(), "ritual_diviner");
sigilOfMagnetism = new SigilOfMagnetism().setUnlocalizedName("sigilOfMagnetism"); sigilOfMagnetism = registerItem(new SigilOfMagnetism(), "sigil_of_magnetism");
itemKeyOfDiablo = new ItemDiabloKey().setUnlocalizedName("itemDiabloKey"); itemKeyOfDiablo = registerItem(new ItemDiabloKey(), "key_of_binding");
energyBazooka = new EnergyBazooka().setUnlocalizedName("energyBazooka"); energyBazooka = registerItem(new EnergyBazooka(), "energy_bazooka");
itemBloodLightSigil = new SigilBloodLight().setUnlocalizedName("bloodLightSigil"); itemBloodLightSigil = registerItem(new SigilBloodLight(), "blood_light_sigil");
itemComplexSpellCrystal = new ItemComplexSpellCrystal().setUnlocalizedName("itemComplexSpellCrystal"); itemComplexSpellCrystal = registerItem(new ItemComplexSpellCrystal(), "complex_spell_crystal");
bucketLife = (new LifeBucket(ModBlocks.blockLifeEssence)).setUnlocalizedName("bucketLife").setContainerItem(Items.bucket).setCreativeTab(CreativeTabs.tabMisc); bucketLife = registerItem(new LifeBucket(ModBlocks.blockLifeEssence), "bucket_life").setContainerItem(Items.bucket).setCreativeTab(CreativeTabs.tabMisc);
itemSigilOfEnderSeverance = (new SigilOfEnderSeverance()).setUnlocalizedName("itemSigilOfEnderSeverance"); itemSigilOfEnderSeverance = registerItem(new SigilOfEnderSeverance(), "sigil_of_ender_severance");
baseItems = new ItemComponents().setUnlocalizedName("baseItems"); baseItems = registerItem(new ItemComponents(), "base_items");
baseAlchemyItems = new ItemAlchemyBase().setUnlocalizedName("baseAlchemyItems"); baseAlchemyItems = registerItem(new ItemAlchemyBase(), "base_alchemy_items");
itemSigilOfSupression = new SigilOfSupression().setUnlocalizedName("itemSigilOfSupression"); itemSigilOfSupression = registerItem(new SigilOfSupression(), "sigil_of_suppression");
itemFluidSigil = new SigilFluid().setUnlocalizedName("itemFluidSigil"); itemFluidSigil = registerItem(new SigilFluid(), "fluid_sigil");
itemSeerSigil = new SigilSeer().setUnlocalizedName("itemSeerSigil"); itemSeerSigil = registerItem(new SigilSeer(), "sigil_of_sight");
customTool = (ItemSpellMultiTool)(new ItemSpellMultiTool().setUnlocalizedName("multiTool")); customTool = (ItemSpellMultiTool) registerItem(new ItemSpellMultiTool(), "multi_tool");
SpellParadigmTool.customTool = customTool; SpellParadigmTool.customTool = customTool;
itemCombinationalCatalyst = new CombinationalCatalyst().setUnlocalizedName("itemCombinationalCatalyst"); itemCombinationalCatalyst = registerItem(new CombinationalCatalyst(), "combinational_catalyst");
itemAttunedCrystal = new ItemAttunedCrystal().setUnlocalizedName("itemAttunedCrystal"); itemAttunedCrystal = registerItem(new ItemAttunedCrystal(), "attuned_crystal");
itemTankSegmenter = new ItemTankSegmenter().setUnlocalizedName("itemTankSegmenter"); itemTankSegmenter = registerItem(new ItemTankSegmenter(), "tank_segmenter");
itemDestinationClearer = new ItemDestinationClearer().setUnlocalizedName("destinationClearer"); itemDestinationClearer = registerItem(new ItemDestinationClearer(), "destination_clearer");
dawnScribeTool = new DawnScribeTool().setUnlocalizedName("dawnScribeTool"); dawnScribeTool = registerItem(new DawnScribeTool(), "dawn_scribe_tool");
itemBloodPack = new ItemBloodLetterPack().setUnlocalizedName("itemBloodPack"); itemBloodPack = registerItem(new ItemBloodLetterPack(), "blood_pack");
itemHarvestSigil = new SigilHarvest().setUnlocalizedName("itemHarvestSigil"); itemHarvestSigil = registerItem(new SigilHarvest(), "harvest_sigil");
itemCompressionSigil = new SigilPackRat().setUnlocalizedName("itemCompressionSigil"); itemCompressionSigil = registerItem(new SigilPackRat(), "compression_sigil");
itemAssassinSigil = new SigilOfTheAssassin().setUnlocalizedName("itemAssassinSigil"); itemAssassinSigil = registerItem(new SigilOfTheAssassin(), "assassin_sigil");
boundHelmetWater = new OmegaArmourWater(0).setUnlocalizedName("boundHelmetWater"); boundHelmetWater = registerItem(new OmegaArmourWater(0), "bound_helmet_water");
boundPlateWater = new OmegaArmourWater(1).setUnlocalizedName("boundPlateWater"); boundChestplateWater = registerItem(new OmegaArmourWater(1), "bound_chestplate_water");
boundLeggingsWater = new OmegaArmourWater(2).setUnlocalizedName("boundLeggingsWater"); boundLeggingsWater = registerItem(new OmegaArmourWater(2), "bound_leggings_water");
boundBootsWater = new OmegaArmourWater(3).setUnlocalizedName("boundBootsWater"); boundBootsWater = registerItem(new OmegaArmourWater(3), "bound_boots_water");
boundHelmetEarth = new OmegaArmourEarth(0).setUnlocalizedName("boundHelmetEarth"); boundHelmetEarth = registerItem(new OmegaArmourEarth(0), "bound_helmet_earth");
boundPlateEarth = new OmegaArmourEarth(1).setUnlocalizedName("boundPlateEarth"); boundChestplateEarth = registerItem(new OmegaArmourEarth(1), "bound_chestplate_earth");
boundLeggingsEarth = new OmegaArmourEarth(2).setUnlocalizedName("boundLeggingsEarth"); boundLeggingsEarth = registerItem(new OmegaArmourEarth(2), "bound_leggings_earth");
boundBootsEarth = new OmegaArmourEarth(3).setUnlocalizedName("boundBootsEarth"); boundBootsEarth = registerItem(new OmegaArmourEarth(3), "bound_boots_earth");
boundHelmetWind = new OmegaArmourWind(0).setUnlocalizedName("boundHelmetWind"); boundHelmetWind = registerItem(new OmegaArmourWind(0), "bound_helmet_wind");
boundPlateWind = new OmegaArmourWind(1).setUnlocalizedName("boundPlateWind"); boundChestplateWind = registerItem(new OmegaArmourWind(1), "bound_chestplate_wind");
boundLeggingsWind = new OmegaArmourWind(2).setUnlocalizedName("boundLeggingsWind"); boundLeggingsWind = registerItem(new OmegaArmourWind(2), "bound_leggings_wind");
boundBootsWind = new OmegaArmourWind(3).setUnlocalizedName("boundBootsWind"); boundBootsWind = registerItem(new OmegaArmourWind(3), "bound_boots_wind");
boundHelmetFire = new OmegaArmourFire(0).setUnlocalizedName("boundHelmetFire"); boundHelmetFire = registerItem(new OmegaArmourFire(0), "bound_helmet_fire");
boundPlateFire = new OmegaArmourFire(1).setUnlocalizedName("boundPlateFire"); boundChestplateFire = registerItem(new OmegaArmourFire(1), "bound_chestplate_fire");
boundLeggingsFire = new OmegaArmourFire(2).setUnlocalizedName("boundLeggingsFire"); boundLeggingsFire = registerItem(new OmegaArmourFire(2), "bound_leggings_fire");
boundBootsFire = new OmegaArmourFire(3).setUnlocalizedName("boundBootsFire"); boundBootsFire = registerItem(new OmegaArmourFire(3), "bound_boots_fire");
inputRoutingFocus = new InputRoutingFocus().setUnlocalizedName("inputRoutingFocus"); inputRoutingFocus = registerItem(new InputRoutingFocus(), "input_routing_focus");
outputRoutingFocus = new OutputRoutingFocus().setUnlocalizedName("outputRoutingFocus"); outputRoutingFocus = registerItem(new OutputRoutingFocus(), "output_routing_focus");
itemIncense = new ItemIncense().setUnlocalizedName("bloodMagicIncenseItem"); itemIncense = registerItem(new ItemIncense(), "incense");
ritualDismantler = new ItemRitualDismantler().setUnlocalizedName("ritualDismantler"); ritualDismantler = registerItem(new ItemRitualDismantler(), "ritual_dismantler");
} }
public static void registerItems() public static Item registerItem(Item item, String unlocalizedName)
{ {
GameRegistry.registerItem(ModItems.weakBloodOrb, "weakBloodOrb"); item.setUnlocalizedName(unlocalizedName);
GameRegistry.registerItem(ModItems.apprenticeBloodOrb, "apprenticeBloodOrb"); item.setCreativeTab(AlchemicalWizardry.tabBloodMagic);
GameRegistry.registerItem(ModItems.magicianBloodOrb, "magicianBloodOrb"); itemsNotToBeRegistered.clear();
GameRegistry.registerItem(ModItems.energyBlaster, "energyBlaster");
GameRegistry.registerItem(ModItems.energySword, "energySword"); for (String unlocName : BloodMagicConfiguration.itemsToBeDisabled)
GameRegistry.registerItem(ModItems.lavaCrystal, "lavaCrystal"); {
GameRegistry.registerItem(ModItems.waterSigil, "waterSigil"); if (unlocName.equals(unlocalizedName))
GameRegistry.registerItem(ModItems.lavaSigil, "lavaSigil"); {
GameRegistry.registerItem(ModItems.voidSigil, "voidSigil"); itemsNotToBeRegistered.add(unlocName);
GameRegistry.registerItem(ModItems.blankSlate, "blankSlate"); }
GameRegistry.registerItem(ModItems.reinforcedSlate, "reinforcedSlate"); }
GameRegistry.registerItem(ModItems.sacrificialDagger, "sacrificialKnife");
GameRegistry.registerItem(ModItems.daggerOfSacrifice, "daggerOfSacrifice");
GameRegistry.registerItem(ModItems.airSigil, "airSigil");
GameRegistry.registerItem(ModItems.sigilOfTheFastMiner, "sigilOfTheFastMiner");
GameRegistry.registerItem(ModItems.sigilOfElementalAffinity, "sigilOfElementalAffinity");
GameRegistry.registerItem(ModItems.sigilOfHaste, "sigilOfHaste");
GameRegistry.registerItem(ModItems.sigilOfHolding, "sigilOfHolding");
GameRegistry.registerItem(ModItems.divinationSigil, "divinationSigil");
GameRegistry.registerItem(ModItems.waterScribeTool, "waterScribeTool");
GameRegistry.registerItem(ModItems.fireScribeTool, "fireScribeTool");
GameRegistry.registerItem(ModItems.earthScribeTool, "earthScribeTool");
GameRegistry.registerItem(ModItems.airScribeTool, "airScribeTool");
GameRegistry.registerItem(ModItems.activationCrystal, "activationCrystal");
GameRegistry.registerItem(ModItems.boundPickaxe, "boundPickaxe");
GameRegistry.registerItem(ModItems.boundAxe, "boundAxe");
GameRegistry.registerItem(ModItems.boundShovel, "boundShovel");
GameRegistry.registerItem(ModItems.boundHelmet, "boundHelmet");
GameRegistry.registerItem(ModItems.boundPlate, "boundPlate");
GameRegistry.registerItem(ModItems.boundLeggings, "boundLeggings");
GameRegistry.registerItem(ModItems.boundBoots, "boundBoots");
GameRegistry.registerItem(ModItems.weakBloodShard, "weakBloodShard");
GameRegistry.registerItem(ModItems.growthSigil, "growthSigil");
GameRegistry.registerItem(ModItems.blankSpell, "blankSpell");
GameRegistry.registerItem(ModItems.masterBloodOrb, "masterBloodOrb");
GameRegistry.registerItem(ModItems.alchemyFlask, "alchemyFlask");
GameRegistry.registerItem(ModItems.standardBindingAgent, "standardBindingAgent");
GameRegistry.registerItem(ModItems.mundanePowerCatalyst, "mundanePowerCatalyst");
GameRegistry.registerItem(ModItems.averagePowerCatalyst, "averagePowerCatalyst");
GameRegistry.registerItem(ModItems.greaterPowerCatalyst, "greaterPowerCatalyst");
GameRegistry.registerItem(ModItems.mundaneLengtheningCatalyst, "mundaneLengtheningCatalyst");
GameRegistry.registerItem(ModItems.averageLengtheningCatalyst, "averageLengtheningCatalyst");
GameRegistry.registerItem(ModItems.greaterLengtheningCatalyst, "greaterLengtheningCatalyst");
GameRegistry.registerItem(ModItems.incendium, "incendium");
GameRegistry.registerItem(ModItems.magicales, "magicales");
GameRegistry.registerItem(ModItems.sanctus, "sanctus");
GameRegistry.registerItem(ModItems.aether, "aether");
GameRegistry.registerItem(ModItems.simpleCatalyst, "simpleCatalyst");
GameRegistry.registerItem(ModItems.crepitous, "crepitous");
GameRegistry.registerItem(ModItems.crystallos, "crystallos");
GameRegistry.registerItem(ModItems.terrae, "terrae");
GameRegistry.registerItem(ModItems.aquasalus, "aquasalus");
GameRegistry.registerItem(ModItems.tennebrae, "tennebrae");
GameRegistry.registerItem(ModItems.demonBloodShard, "demonBloodShard");
GameRegistry.registerItem(ModItems.archmageBloodOrb, "archmageBloodOrb");
GameRegistry.registerItem(ModItems.transcendentBloodOrb, "transcendentBloodOrb");
GameRegistry.registerItem(ModItems.sigilOfWind, "sigilOfWind");
GameRegistry.registerItem(ModItems.telepositionFocus, "telepositionFocus");
GameRegistry.registerItem(ModItems.enhancedTelepositionFocus, "enhancedTelepositionFocus");
GameRegistry.registerItem(ModItems.reinforcedTelepositionFocus, "reinforcedTelepositionFocus");
GameRegistry.registerItem(ModItems.demonicTelepositionFocus, "demonicTelepositionFocus");
GameRegistry.registerItem(ModItems.imbuedSlate, "imbuedSlate");
GameRegistry.registerItem(ModItems.demonicSlate, "demonicSlate");
GameRegistry.registerItem(ModItems.duskScribeTool, "duskScribeTool");
GameRegistry.registerItem(ModItems.sigilOfTheBridge, "sigilOfTheBridge");
GameRegistry.registerItem(ModItems.armourInhibitor, "armourInhibitor");
GameRegistry.registerItem(ModItems.creativeFiller, "creativeFiller");
GameRegistry.registerItem(ModItems.demonPlacer, "demonPlacer");
GameRegistry.registerItem(ModItems.creativeDagger, "creativeDagger");
GameRegistry.registerItem(ModItems.weakFillingAgent, "weakFillingAgent"); if (!itemsNotToBeRegistered.contains(unlocalizedName))
GameRegistry.registerItem(ModItems.standardFillingAgent, "standardFillingAgent"); {
GameRegistry.registerItem(ModItems.enhancedFillingAgent, "enhancedFillingAgent"); GameRegistry.registerItem(item, unlocalizedName);
GameRegistry.registerItem(ModItems.weakBindingAgent, "weakBindingAgent"); }
GameRegistry.registerItem(ModItems.itemRitualDiviner, "itemRitualDiviner");
GameRegistry.registerItem(ModItems.sigilOfMagnetism, "sigilOfMagnetism");
GameRegistry.registerItem(ModItems.itemKeyOfDiablo, "itemKeyOfDiablo");
GameRegistry.registerItem(ModItems.energyBazooka, "energyBazooka");
GameRegistry.registerItem(ModItems.itemBloodLightSigil, "itemBloodLightSigil");
GameRegistry.registerItem(ModItems.itemComplexSpellCrystal, "itemComplexSpellCrystal");
GameRegistry.registerItem(ModItems.itemSigilOfSupression, "sigilOfSupression");
GameRegistry.registerItem(ModItems.itemSigilOfEnderSeverance, "sigilOfEnderSeverance");
GameRegistry.registerItem(ModItems.itemFluidSigil, "fluidSigil");
GameRegistry.registerItem(ModItems.itemSeerSigil, "seerSigil");
GameRegistry.registerItem(ModItems.customTool, "customTool"); return item;
GameRegistry.registerItem(ModItems.bucketLife, "bucketLife");
GameRegistry.registerItem(ModItems.itemCombinationalCatalyst, "itemCombinationalCatalyst");
GameRegistry.registerItem(ModItems.itemAttunedCrystal, "itemAttunedCrystal");
GameRegistry.registerItem(ModItems.itemTankSegmenter, "itemTankSegmenter");
GameRegistry.registerItem(ModItems.itemDestinationClearer, "itemDestinationClearer");
GameRegistry.registerItem(ModItems.baseItems, "bloodMagicBaseItems");
GameRegistry.registerItem(ModItems.baseAlchemyItems, "bloodMagicBaseAlchemyItems");
GameRegistry.registerItem(ModItems.dawnScribeTool, "dawnScribeTool");
GameRegistry.registerItem(ModItems.itemBloodPack, "itemBloodPack");
GameRegistry.registerItem(ModItems.itemHarvestSigil, "itemHarvestSigil");
GameRegistry.registerItem(ModItems.itemCompressionSigil, "itemCompressionSigil");
GameRegistry.registerItem(ModItems.itemAssassinSigil, "itemAssassinSigil");
GameRegistry.registerItem(ModItems.boundHelmetWater, "boundHelmetWater");
GameRegistry.registerItem(ModItems.boundPlateWater, "boundPlateWater");
GameRegistry.registerItem(ModItems.boundLeggingsWater, "boundLeggingsWater");
GameRegistry.registerItem(ModItems.boundBootsWater, "boundBootsWater");
GameRegistry.registerItem(ModItems.boundHelmetEarth, "boundHelmetEarth");
GameRegistry.registerItem(ModItems.boundPlateEarth, "boundPlateEarth");
GameRegistry.registerItem(ModItems.boundLeggingsEarth, "boundLeggingsEarth");
GameRegistry.registerItem(ModItems.boundBootsEarth, "boundBootsEarth");
GameRegistry.registerItem(ModItems.boundHelmetWind, "boundHelmetWind");
GameRegistry.registerItem(ModItems.boundPlateWind, "boundPlateWind");
GameRegistry.registerItem(ModItems.boundLeggingsWind, "boundLeggingsWind");
GameRegistry.registerItem(ModItems.boundBootsWind, "boundBootsWind");
GameRegistry.registerItem(ModItems.boundHelmetFire, "boundHelmetFire");
GameRegistry.registerItem(ModItems.boundPlateFire, "boundPlateFire");
GameRegistry.registerItem(ModItems.boundLeggingsFire, "boundLeggingsFire");
GameRegistry.registerItem(ModItems.boundBootsFire, "boundBootsFire");
GameRegistry.registerItem(ModItems.inputRoutingFocus, "inputRoutingFocus");
GameRegistry.registerItem(ModItems.outputRoutingFocus, "outputRoutingFocus");
GameRegistry.registerItem(ModItems.itemIncense, "bloodMagicIncenseItem");
GameRegistry.registerItem(ModItems.ritualDismantler, "ritualDismantler");
} }
} }

View file

@ -49,7 +49,7 @@ import WayofTime.alchemicalWizardry.api.event.TeleposeEvent;
import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler; import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
import WayofTime.alchemicalWizardry.api.spell.APISpellHelper; import WayofTime.alchemicalWizardry.api.spell.APISpellHelper;
import WayofTime.alchemicalWizardry.common.entity.projectile.EnergyBlastProjectile; import WayofTime.alchemicalWizardry.common.entity.projectile.EnergyBlastProjectile;
import WayofTime.alchemicalWizardry.common.items.EnergySword; import WayofTime.alchemicalWizardry.common.items.BoundBlade;
import WayofTime.alchemicalWizardry.common.items.armour.BoundArmour; import WayofTime.alchemicalWizardry.common.items.armour.BoundArmour;
import WayofTime.alchemicalWizardry.common.items.armour.OmegaArmour; import WayofTime.alchemicalWizardry.common.items.armour.OmegaArmour;
import WayofTime.alchemicalWizardry.common.omega.OmegaParadigm; import WayofTime.alchemicalWizardry.common.omega.OmegaParadigm;
@ -84,7 +84,7 @@ public class AlchemicalWizardryEventHooks
parad.onEmptyHandEntityInteract(player, event.target); parad.onEmptyHandEntityInteract(player, event.target);
}else }else
{ {
if(heldItem.getItem() instanceof EnergySword) if(heldItem.getItem() instanceof BoundBlade)
{ {
parad.onBoundSwordInteractWithEntity(player, event.target); parad.onBoundSwordInteractWithEntity(player, event.target);
} }

View file

@ -68,7 +68,7 @@ public class BlockArmourForge extends Block
{ {
case 0: case 0:
list = plateList; list = plateList;
armourPiece = new ItemStack(ModItems.boundPlate, 1, 0); armourPiece = new ItemStack(ModItems.boundChestplate, 1, 0);
break; break;
case 1: case 1:

View file

@ -20,14 +20,13 @@ import WayofTime.alchemicalWizardry.api.alchemy.AlchemyRecipeRegistry;
public class ActivationCrystal extends EnergyItems public class ActivationCrystal extends EnergyItems
{ {
private static final String[] ACTIVATION_CRYSTAL_NAMES = new String[]{"Weak", "Awakened", "Creative"}; private static final String[] ACTIVATION_CRYSTAL_NAMES = new String[]{"weak", "awakened", "creative"};
public ActivationCrystal() public ActivationCrystal()
{ {
super(); super();
this.maxStackSize = 1; this.maxStackSize = 1;
setEnergyUsed(100); setEnergyUsed(100);
this.setCreativeTab(AlchemicalWizardry.tabBloodMagic);
this.hasSubtypes = true; this.hasSubtypes = true;
} }
@ -101,7 +100,7 @@ public class ActivationCrystal extends EnergyItems
{ {
//This is what will do all the localisation things on the alchemy components so you dont have to set it :D //This is what will do all the localisation things on the alchemy components so you dont have to set it :D
int meta = MathHelper.clamp_int(itemStack.getItemDamage(), 0, ACTIVATION_CRYSTAL_NAMES.length - 1); int meta = MathHelper.clamp_int(itemStack.getItemDamage(), 0, ACTIVATION_CRYSTAL_NAMES.length - 1);
return ("" + "item.activationCrystal" + ACTIVATION_CRYSTAL_NAMES[meta]); return (getUnlocalizedName() + "_" + ACTIVATION_CRYSTAL_NAMES[meta]);
} }
@Override @Override

View file

@ -19,11 +19,11 @@ import WayofTime.alchemicalWizardry.AlchemicalWizardry;
import WayofTime.alchemicalWizardry.common.omega.OmegaParadigm; import WayofTime.alchemicalWizardry.common.omega.OmegaParadigm;
import WayofTime.alchemicalWizardry.common.omega.OmegaRegistry; import WayofTime.alchemicalWizardry.common.omega.OmegaRegistry;
public class EnergySword extends ItemSword public class BoundBlade extends ItemSword
{ {
private int energyUsed; private int energyUsed;
public EnergySword() public BoundBlade()
{ {
super(AlchemicalWizardry.bloodBoundToolMaterial); super(AlchemicalWizardry.bloodBoundToolMaterial);
this.maxStackSize = 1; this.maxStackSize = 1;

View file

@ -209,7 +209,7 @@ public class BoundArmour extends ItemArmor implements IAlchemyGoggles, ISpecialA
return 3; return 3;
} }
if (armor.getItem() == ModItems.boundPlate) if (armor.getItem() == ModItems.boundChestplate)
{ {
return 8; return 8;
} }
@ -284,7 +284,7 @@ public class BoundArmour extends ItemArmor implements IAlchemyGoggles, ISpecialA
{ {
if (this.getIsInvisible(stack)) if (this.getIsInvisible(stack))
{ {
if (this == ModItems.boundHelmet || this == ModItems.boundPlate || this == ModItems.boundBoots) if (this == ModItems.boundHelmet || this == ModItems.boundChestplate || this == ModItems.boundBoots)
{ {
return "alchemicalwizardry:models/armor/boundArmour_invisible_layer_1.png"; return "alchemicalwizardry:models/armor/boundArmour_invisible_layer_1.png";
} }
@ -296,7 +296,7 @@ public class BoundArmour extends ItemArmor implements IAlchemyGoggles, ISpecialA
} }
} }
if (this == ModItems.boundHelmet || this == ModItems.boundPlate || this == ModItems.boundBoots) if (this == ModItems.boundHelmet || this == ModItems.boundChestplate || this == ModItems.boundBoots)
{ {
return "alchemicalwizardry:models/armor/boundArmour_layer_1.png"; return "alchemicalwizardry:models/armor/boundArmour_layer_1.png";
} }

View file

@ -48,7 +48,7 @@ public class OmegaParadigm
ItemStack leggingsStack = armours[1]; ItemStack leggingsStack = armours[1];
ItemStack bootsStack = armours[0]; ItemStack bootsStack = armours[0];
if(helmetStack != null && helmetStack.getItem() == ModItems.boundHelmet && chestStack != null && chestStack.getItem() == ModItems.boundPlate && leggingsStack != null && leggingsStack.getItem() == ModItems.boundLeggings && bootsStack != null && bootsStack.getItem() == ModItems.boundBoots) if(helmetStack != null && helmetStack.getItem() == ModItems.boundHelmet && chestStack != null && chestStack.getItem() == ModItems.boundChestplate && leggingsStack != null && leggingsStack.getItem() == ModItems.boundLeggings && bootsStack != null && bootsStack.getItem() == ModItems.boundBoots)
{ {
long worldSeed = player.worldObj.getSeed(); long worldSeed = player.worldObj.getSeed();
Random rand = new Random(worldSeed + stability * (affinity + 7) * 94 + 84321*x - 17423*y + 76*z - 1623451*enchantability + 2 * enchantmentLevel); Random rand = new Random(worldSeed + stability * (affinity + 7) * 94 + 84321*x - 17423*y + 76*z - 1623451*enchantability + 2 * enchantmentLevel);

View file

@ -84,7 +84,7 @@ public class RitualEffectUnbinding extends RitualEffect
if (itemStack.getItem() == ModItems.boundHelmet) if (itemStack.getItem() == ModItems.boundHelmet)
{ {
ritualStone.setVar1(5); ritualStone.setVar1(5);
} else if (itemStack.getItem() == ModItems.boundPlate) } else if (itemStack.getItem() == ModItems.boundChestplate)
{ {
ritualStone.setVar1(8); ritualStone.setVar1(8);
} else if (itemStack.getItem() == ModItems.boundLeggings) } else if (itemStack.getItem() == ModItems.boundLeggings)