|
|
|
|
@ -136,6 +136,7 @@ public class CinderLoE {
|
|
|
|
|
public static Item spearsolidgold;
|
|
|
|
|
public static Item whip;
|
|
|
|
|
public static Item swordAsh;
|
|
|
|
|
public static Item staffAsh;
|
|
|
|
|
public static Item daggerAsh;
|
|
|
|
|
public static Item spearAsh;
|
|
|
|
|
public static Item hammerAsh;
|
|
|
|
|
@ -351,7 +352,7 @@ public class CinderLoE {
|
|
|
|
|
GameRegistry.registerBlock(cinderBlock, "cinderBlock");
|
|
|
|
|
|
|
|
|
|
// Ivory Block
|
|
|
|
|
ivoryBlock = (new IvoryBlock());
|
|
|
|
|
ivoryBlock = (new IvoryBlock()); //Unobtainable
|
|
|
|
|
GameRegistry.registerBlock(ivoryBlock, "ivoryBlock");
|
|
|
|
|
|
|
|
|
|
// Reefless Coral
|
|
|
|
|
@ -490,7 +491,7 @@ public class CinderLoE {
|
|
|
|
|
* Item Registation, add up the "last ID added" upon adding a new item
|
|
|
|
|
* Weapons will need to be linked
|
|
|
|
|
*/
|
|
|
|
|
// Last ID added: 94
|
|
|
|
|
// Last ID added: 95
|
|
|
|
|
|
|
|
|
|
// ==Food Items==
|
|
|
|
|
ItemRegistration.registerItem(onion, "onion", 89);
|
|
|
|
|
@ -576,6 +577,7 @@ public class CinderLoE {
|
|
|
|
|
ingotAsh = new Item().setUnlocalizedName("lotr:ingotAsh").setTextureName("lotr:ingotAsh").setCreativeTab((CreativeTabs) materials);
|
|
|
|
|
if (MATERIAL_ASH != null) {
|
|
|
|
|
swordAsh = (new LOTRItemSword(MATERIAL_ASH)).addWeaponDamage(4.25F).setUnlocalizedName("lotr:swordAsh").setTextureName("lotr:swordAsh");
|
|
|
|
|
staffAsh = (new LOTRItemPolearm(MATERIAL_ASH)).addWeaponDamage(6.5F).setUnlocalizedName("lotr:staffAsh").setTextureName("lotr:staffAsh");
|
|
|
|
|
daggerAsh = (new LOTRItemDagger(MATERIAL_ASH)).addWeaponDamage(6.75F).setUnlocalizedName("lotr:daggerAsh").setTextureName("lotr:daggerAsh");
|
|
|
|
|
hammerAsh = (new LOTRItemHammer(MATERIAL_ASH)).addWeaponDamage(5.5F).setUnlocalizedName("lotr:hammerAsh").setTextureName("lotr:hammerAsh");
|
|
|
|
|
battleaxeAsh = (new LOTRItemBattleaxe(MATERIAL_ASH)).addWeaponDamage(5.5F).setUnlocalizedName("lotr:battleaxeAsh").setTextureName("lotr:battleaxeAsh");
|
|
|
|
|
@ -592,6 +594,7 @@ public class CinderLoE {
|
|
|
|
|
ItemRegistration.registerItem(bowAsh, "bowAsh", 79);
|
|
|
|
|
ItemRegistration.registerItem(pikeAsh, "pikeAsh", 80);
|
|
|
|
|
ItemRegistration.registerItem(spearAsh, "spearAsh", 81);
|
|
|
|
|
ItemRegistration.registerItem(staffAsh, "staffAsh", 95);
|
|
|
|
|
} else {
|
|
|
|
|
// Log an error or handle the case where the material could not be found
|
|
|
|
|
System.err.println("Failed to find MATERIAL_ASH material for armor initialization.");
|
|
|
|
|
@ -603,6 +606,7 @@ public class CinderLoE {
|
|
|
|
|
linkLOTRWeapon(bowAsh, "bowAsh");
|
|
|
|
|
linkLOTRWeapon(pikeAsh, "pikeAsh");
|
|
|
|
|
linkLOTRWeapon(spearAsh, "spearAsh");
|
|
|
|
|
linkLOTRWeapon(staffAsh, "staffAsh");
|
|
|
|
|
|
|
|
|
|
// Red Dwarves
|
|
|
|
|
redDwarfSteel = new Item().setUnlocalizedName("lotr:redDwarfSteel").setTextureName("lotr:redDwarfSteel").setCreativeTab((CreativeTabs) materials);
|
|
|
|
|
@ -969,6 +973,7 @@ public class CinderLoE {
|
|
|
|
|
CinderCore.registerItemFallback(Item.getIdFromItem(ingotAsh), Item.getIdFromItem(LOTRMod.galvorn), "cinder_loe", "1.2");
|
|
|
|
|
CinderCore.registerItemFallback(Item.getIdFromItem(daggerAsh), Item.getIdFromItem(LOTRMod.daggerBlackUruk), "cinder_loe", "1.2");
|
|
|
|
|
CinderCore.registerItemFallback(Item.getIdFromItem(swordAsh), Item.getIdFromItem(LOTRMod.scimitarBlackUruk), "cinder_loe", "1.2");
|
|
|
|
|
CinderCore.registerItemFallback(Item.getIdFromItem(staffAsh), Item.getIdFromItem(LOTRMod.polearmOrc), "cinder_loe", "1.2");
|
|
|
|
|
CinderCore.registerItemFallback(Item.getIdFromItem(hammerAsh), Item.getIdFromItem(LOTRMod.hammerBlackUruk), "cinder_loe", "1.2");
|
|
|
|
|
CinderCore.registerItemFallback(Item.getIdFromItem(battleaxeAsh), Item.getIdFromItem(LOTRMod.battleaxeBlackUruk), "cinder_loe", "1.2");
|
|
|
|
|
CinderCore.registerItemFallback(Item.getIdFromItem(pikeAsh), Item.getIdFromItem(LOTRMod.pikeDolGuldur), "cinder_loe", "1.2");
|
|
|
|
|
|