Changed Rift Blade Recipe and Power

Changed Rift Blade recipe to use Stable Fabric and a Blaze Rod. Changed
its base material from Gold to Diamond, which increases attack power and
decreases enchantability a little.
This commit is contained in:
SenseiKiwi
2014-01-20 02:00:00 -04:00
parent ee1db9aa99
commit 30a9dcf2c7
3 changed files with 5 additions and 5 deletions

View File

@@ -31,9 +31,9 @@ public class ItemRiftBlade extends ItemSword
{
private final DDProperties properties;
public ItemRiftBlade(int itemID, EnumToolMaterial material, DDProperties properties)
public ItemRiftBlade(int itemID, DDProperties properties)
{
super(itemID, material);
super(itemID, EnumToolMaterial.EMERALD);
this.setCreativeTab(mod_pocketDim.dimDoorsCreativeTab);
this.setMaxStackSize(1);
@@ -211,7 +211,7 @@ public class ItemRiftBlade extends ItemSword
public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack)
{
//Don't include a call to super.getIsRepairable()!
//That would cause this sword to accept gold as a repair material (since we set material = Gold).
//That would cause this sword to accept diamonds as a repair material (since we set material = Diamond).
return mod_pocketDim.itemStableFabric.itemID == par2ItemStack.itemID ? true : false;
}