Added Soul Bow textures and localization, as well as rudimentary function.

This commit is contained in:
WayofTime 2016-01-08 21:05:13 -05:00
parent 9329dd12f4
commit c5dec61351
12 changed files with 125 additions and 3 deletions

View file

@ -47,6 +47,7 @@ import WayofTime.bloodmagic.item.sigil.ItemSigilVoid;
import WayofTime.bloodmagic.item.sigil.ItemSigilWater;
import WayofTime.bloodmagic.item.sigil.ItemSigilWhirlwind;
import WayofTime.bloodmagic.item.soul.ItemMonsterSoul;
import WayofTime.bloodmagic.item.soul.ItemSoulBow;
import WayofTime.bloodmagic.item.soul.ItemSoulGem;
import WayofTime.bloodmagic.item.soul.ItemSoulSnare;
import WayofTime.bloodmagic.item.soul.ItemSoulSword;
@ -117,6 +118,7 @@ public class ModItems
public static Item soulSnare;
public static Item soulSword;
public static Item soulBow;
public static Item.ToolMaterial boundToolMaterial = EnumHelper.addToolMaterial("BoundToolMaterial", 4, 0, 10, 8, 50);
public static Item.ToolMaterial soulToolMaterial = EnumHelper.addToolMaterial("SoulToolMaterial", 4, 0, 7, 8, 50);
@ -194,6 +196,7 @@ public class ModItems
soulSnare = registerItem(new ItemSoulSnare());
soulSword = registerItem(new ItemSoulSword());
soulBow = registerItem(new ItemSoulBow());
}
public static void initRenders()
@ -302,6 +305,11 @@ public class ModItems
renderHelper.itemRender(soulSword, 0);
renderHelper.itemRender(soulSword, 1);
renderHelper.itemRender(soulBow, 0, "ItemSoulBow");
renderHelper.itemRender(soulBow, 1, "ItemSoulBow_pulling_0");
renderHelper.itemRender(soulBow, 2, "ItemSoulBow_pulling_1");
renderHelper.itemRender(soulBow, 3, "ItemSoulBow_pulling_2");
}
private static Item registerItem(Item item, String name)

View file

@ -166,8 +166,5 @@ public class ModRecipes
SoulForgeRecipeRegistry.registerRecipe(ItemComponent.getStack(ItemComponent.REAGENT_AFFINITY), 300, 30, ModItems.sigilWater, ModItems.sigilAir, ModItems.sigilLava, Blocks.obsidian);
SoulForgeRecipeRegistry.registerRecipe(ItemComponent.getStack(ItemComponent.REAGENT_SUPPRESSION), 500, 50, ModBlocks.teleposer, Items.water_bucket, Items.lava_bucket, Items.blaze_rod);
SoulForgeRecipeRegistry.registerRecipe(ItemComponent.getStack(ItemComponent.REAGENT_BINDING), 400, 10, "dustGlowstone", "dustRedstone", "nuggetGold", Items.gunpowder);
GameRegistry.addRecipe(new ShapedOreRecipe(ItemComponent.getStack(ItemComponent.REAGENT_SUPPRESSION), "wtl", "wrl", "wol", 't', new ItemStack(ModBlocks.teleposer), 'w', new ItemStack(Items.water_bucket), 'l', new ItemStack(Items.lava_bucket), 'o', OrbRegistry.getOrbStack(ModItems.orbMaster)));
}
}