Fixed toggleable sigils not binding.
This commit is contained in:
parent
aee58c487c
commit
c015e3421f
4 changed files with 8 additions and 1 deletions
|
@ -14,6 +14,9 @@ Version 2.0.0-4
|
||||||
- Added the Soul Sword, which will be powered by consuming souls
|
- Added the Soul Sword, which will be powered by consuming souls
|
||||||
- Added a Lesser Soul Gem in order to hold onto more souls
|
- Added a Lesser Soul Gem in order to hold onto more souls
|
||||||
- SSSSSSSSoooooooouuuuuuulllllllllsssssss
|
- SSSSSSSSoooooooouuuuuuulllllllllsssssss
|
||||||
|
- Added Soul Forge block
|
||||||
|
|
||||||
|
- Fixed binding of togglable sigils
|
||||||
|
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
Version 2.0.0-3
|
Version 2.0.0-3
|
||||||
|
|
|
@ -37,6 +37,7 @@ public class ItemSigilToggleable extends ItemSigilBase
|
||||||
@Override
|
@Override
|
||||||
public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player)
|
public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player)
|
||||||
{
|
{
|
||||||
|
BindableHelper.checkAndSetItemOwner(stack, player);
|
||||||
if (!world.isRemote && !isUnusable(stack))
|
if (!world.isRemote && !isUnusable(stack))
|
||||||
{
|
{
|
||||||
if (player.isSneaking())
|
if (player.isSneaking())
|
||||||
|
|
|
@ -15,6 +15,7 @@ public class ModPotions
|
||||||
public static Potion heavyHeart;
|
public static Potion heavyHeart;
|
||||||
public static Potion whirlwind;
|
public static Potion whirlwind;
|
||||||
public static Potion planarBinding;
|
public static Potion planarBinding;
|
||||||
|
public static Potion soulSnare;
|
||||||
|
|
||||||
public static void init()
|
public static void init()
|
||||||
{
|
{
|
||||||
|
@ -37,6 +38,7 @@ public class ModPotions
|
||||||
, false, 0, 0, 0);
|
, false, 0, 0, 0);
|
||||||
whirlwind = new PotionBloodMagic("Whirlwind", new ResourceLocation("whirlwind"), 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);
|
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
|
// heavyHeart = new PotionBloodMagic("Heavy Heart", new
|
||||||
// ResourceLocation(resourceLocation +
|
// ResourceLocation(resourceLocation +
|
||||||
// heavyHeart.getName().toLowerCase()), true, 0, 0, 0);
|
// heavyHeart.getName().toLowerCase()), true, 0, 0, 0);
|
||||||
|
|
|
@ -160,6 +160,7 @@ public class ModRecipes
|
||||||
|
|
||||||
public static void addSoulForgeRecipes()
|
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…
Add table
Add a link
Reference in a new issue