Tentatitively added the other soul gems
This commit is contained in:
parent
fabf63b856
commit
36846e8952
|
@ -18,7 +18,7 @@ import WayofTime.bloodmagic.util.helper.TextHelper;
|
|||
|
||||
public class ItemSoulGem extends Item implements ISoulGem
|
||||
{
|
||||
public static String[] names = { "lesser" };
|
||||
public static String[] names = { "petty", "lesser", "common", "greater", "grand" };
|
||||
|
||||
public ItemSoulGem()
|
||||
{
|
||||
|
@ -111,6 +111,19 @@ public class ItemSoulGem extends Item implements ISoulGem
|
|||
@Override
|
||||
public int getMaxSouls(ItemStack soulGemStack)
|
||||
{
|
||||
switch (soulGemStack.getMetadata())
|
||||
{
|
||||
case 0:
|
||||
return 64;
|
||||
case 1:
|
||||
return 256;
|
||||
case 2:
|
||||
return 1024;
|
||||
case 3:
|
||||
return 4096;
|
||||
case 4:
|
||||
return 16384;
|
||||
}
|
||||
return 64;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -294,6 +294,10 @@ public class ModItems
|
|||
renderHelper.itemRender(arcaneAshes);
|
||||
renderHelper.itemRender(monsterSoul, 0);
|
||||
renderHelper.itemRender(soulGem, 0);
|
||||
renderHelper.itemRender(soulGem, 1);
|
||||
renderHelper.itemRender(soulGem, 2);
|
||||
renderHelper.itemRender(soulGem, 3);
|
||||
renderHelper.itemRender(soulGem, 4);
|
||||
renderHelper.itemRender(soulSnare);
|
||||
|
||||
renderHelper.itemRender(soulSword, 0);
|
||||
|
|
|
@ -49,7 +49,6 @@ public class ModRecipes
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ritualDiviner, 1, 1), " S ", "tdt", " S ", 'S', new ItemStack(ModItems.slate, 1, 3), 't', EnumRuneType.DUSK.getScribeStack(), 'd', new ItemStack(ModItems.ritualDiviner)));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.bloodStoneBrick), "aa", "aa", 'a', new ItemStack(ModBlocks.bloodStoneBrick, 1, 1)));
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModBlocks.bloodStoneBrick, 1, 1), "stone", new ItemStack(ModItems.bloodShard)));
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.arcaneAshes), "dyeWhite", Items.gunpowder, Items.gunpowder, "dustRedstone", new ItemStack(Items.flint), new ItemStack(Items.coal, 1, 1), ModItems.slate));
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.activationCrystal, 1, 1), new ItemStack(Items.nether_star), OrbRegistry.getOrbStack(ModItems.orbArchmage));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.soulSnare, 4, 0), "sis", "iri", "sis", 's', new ItemStack(Items.string), 'i', "ingotIron", 'r', "dustRedstone"));
|
||||
|
||||
|
@ -59,8 +58,6 @@ public class ModRecipes
|
|||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.lavaCrystal), "aba", "bcb", "ded", 'a', "blockGlass", 'b', Items.lava_bucket, 'c', OrbRegistry.getOrbStack(ModItems.orbWeak), 'd', Blocks.obsidian, 'e', "gemDiamond"));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(ItemComponent.getStack(ItemComponent.REAGENT_BINDING), "xox", "oSo", "xox", 'S', OrbRegistry.getOrbStack(ModItems.orbMagician), 'o', "dustRedstone", 'x', "dustGlowstone"));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(ItemComponent.getStack(ItemComponent.REAGENT_VOID), "aba", "aca", "ada", 'a', Items.bucket, 'b', Items.string, 'c', Items.gunpowder, 'd', OrbRegistry.getOrbStack(ModItems.orbApprentice)));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(ItemComponent.getStack(ItemComponent.REAGENT_GROWTH), "aba", "bcb", "ada", 'a', "treeSapling", 'b', Items.reeds, 'c', Items.sugar, 'd', OrbRegistry.getOrbStack(ModItems.orbApprentice)));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(ItemComponent.getStack(ItemComponent.REAGENT_FASTMINER), "aba", "cde", "afa", 'a', "stone", 'b', Items.iron_pickaxe, 'c', Items.iron_shovel, 'd', Items.gunpowder, 'e', Items.iron_axe, 'f', OrbRegistry.getOrbStack(ModItems.orbApprentice)));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(ItemComponent.getStack(ItemComponent.REAGENT_AFFINITY), "aba", "cde", "afa", 'a', Blocks.obsidian, 'b', ModItems.sigilAir, 'c', ModItems.sigilWater, 'd', "dustGlowstone", 'e', ModItems.sigilLava, 'f', OrbRegistry.getOrbStack(ModItems.orbMagician)));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(ItemComponent.getStack(ItemComponent.REAGENT_SIGHT), "aba", "aca", "ded", 'a', "blockGlass", 'b', ModItems.sigilDivination, 'c', "dustGlowstone", 'd', ModItems.bucketEssence, 'e', OrbRegistry.getOrbStack(ModItems.orbApprentice)));
|
||||
|
@ -165,5 +162,7 @@ public class ModRecipes
|
|||
SoulForgeRecipeRegistry.registerRecipe(new ItemStack(ModItems.arcaneAshes), 0, 0, "dustRedstone", "dyeWhite", new ItemStack(Items.gunpowder), Items.coal);
|
||||
SoulForgeRecipeRegistry.registerRecipe(ItemComponent.getStack(ItemComponent.REAGENT_WATER), 10, 3, "sugar", new ItemStack(Items.water_bucket), new ItemStack(Items.water_bucket));
|
||||
SoulForgeRecipeRegistry.registerRecipe(ItemComponent.getStack(ItemComponent.REAGENT_LAVA), 32, 10, Items.lava_bucket, "dustRedstone", "cobblestone", "blockCoal");
|
||||
SoulForgeRecipeRegistry.registerRecipe(ItemComponent.getStack(ItemComponent.REAGENT_VOID), 64, 10, Items.bucket, Items.string, Items.string, Items.gunpowder);
|
||||
SoulForgeRecipeRegistry.registerRecipe(ItemComponent.getStack(ItemComponent.REAGENT_GROWTH), 120, 30, "treeSapling", "treeSapling", Items.reeds, Items.sugar);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -110,7 +110,11 @@ item.BloodMagic.ritualDivinerdawn.name=Ritual Diviner [Dawn]
|
|||
item.BloodMagic.arcaneAshes.name=Arcane Ashes
|
||||
|
||||
item.BloodMagic.soul.sword.name=Soul Sword
|
||||
item.BloodMagic.soulGem.petty.name=Petty Soul Gem
|
||||
item.BloodMagic.soulGem.lesser.name=Lesser Soul Gem
|
||||
item.BloodMagic.soulGem.common.name=Common Soul Gem
|
||||
item.BloodMagic.soulGem.greater.name=Greater Soul Gem
|
||||
item.BloodMagic.soulGem.grand.name=Grand Soul Gem
|
||||
item.BloodMagic.soulSnare.base.name=Rudimentary Soul Snare
|
||||
|
||||
# Blocks
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"parent":"bloodmagic:item/ItemModelBase",
|
||||
"textures": {
|
||||
"layer0":"bloodmagic:items/SoulGemLesser"
|
||||
"layer0":"bloodmagic:items/SoulGemPetty"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"parent":"bloodmagic:item/ItemModelBase",
|
||||
"textures": {
|
||||
"layer0":"bloodmagic:items/SoulGemLesser"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent":"bloodmagic:item/ItemModelBase",
|
||||
"textures": {
|
||||
"layer0":"bloodmagic:items/SoulGemCommon"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent":"bloodmagic:item/ItemModelBase",
|
||||
"textures": {
|
||||
"layer0":"bloodmagic:items/SoulGemGreater"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent":"bloodmagic:item/ItemModelBase",
|
||||
"textures": {
|
||||
"layer0":"bloodmagic:items/SoulGemGrand"
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in a new issue