Fixed toggleable sigils not binding.
This commit is contained in:
parent
aee58c487c
commit
c015e3421f
|
@ -14,6 +14,9 @@ Version 2.0.0-4
|
|||
- Added the Soul Sword, which will be powered by consuming souls
|
||||
- Added a Lesser Soul Gem in order to hold onto more souls
|
||||
- SSSSSSSSoooooooouuuuuuulllllllllsssssss
|
||||
- Added Soul Forge block
|
||||
|
||||
- Fixed binding of togglable sigils
|
||||
|
||||
------------------------------------------------------
|
||||
Version 2.0.0-3
|
||||
|
|
|
@ -37,6 +37,7 @@ public class ItemSigilToggleable extends ItemSigilBase
|
|||
@Override
|
||||
public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player)
|
||||
{
|
||||
BindableHelper.checkAndSetItemOwner(stack, player);
|
||||
if (!world.isRemote && !isUnusable(stack))
|
||||
{
|
||||
if (player.isSneaking())
|
||||
|
|
|
@ -15,6 +15,7 @@ public class ModPotions
|
|||
public static Potion heavyHeart;
|
||||
public static Potion whirlwind;
|
||||
public static Potion planarBinding;
|
||||
public static Potion soulSnare;
|
||||
|
||||
public static void init()
|
||||
{
|
||||
|
@ -37,6 +38,7 @@ public class ModPotions
|
|||
, false, 0, 0, 0);
|
||||
whirlwind = new PotionBloodMagic("Whirlwind", new ResourceLocation("whirlwind"), false, 0, 0, 0);
|
||||
planarBinding = new PotionBloodMagic("Planar Binding", new ResourceLocation("planarBinding"), false, 0, 0, 0);
|
||||
soulSnare = new PotionBloodMagic("Soul Snare", new ResourceLocation("soulSnare"), false, 0, 0, 0);
|
||||
// heavyHeart = new PotionBloodMagic("Heavy Heart", new
|
||||
// ResourceLocation(resourceLocation +
|
||||
// heavyHeart.getName().toLowerCase()), true, 0, 0, 0);
|
||||
|
|
|
@ -160,6 +160,7 @@ public class ModRecipes
|
|||
|
||||
public static void addSoulForgeRecipes()
|
||||
{
|
||||
SoulForgeRecipeRegistry.registerRecipe(new ItemStack(Items.diamond), 1, 0.5, new ItemStack(Items.redstone), new ItemStack(Items.redstone), new ItemStack(Items.redstone));
|
||||
SoulForgeRecipeRegistry.registerRecipe(new ItemStack(ModItems.soulGem), 1, 1, "dustRedstone", "gemDiamond", "blockGlass", "dyeBlue");
|
||||
SoulForgeRecipeRegistry.registerRecipe(new ItemStack(ModItems.soulSword), 0, 0, new ItemStack(ModItems.soulGem), new ItemStack(Items.iron_sword));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue