Added Rune of Acceleration
This commit is contained in:
parent
b3199cfb19
commit
dbe51d7f7b
8 changed files with 59 additions and 21 deletions
|
@ -21,6 +21,7 @@ public class BloodRune extends Block
|
|||
private IIcon dislocationRuneIcon;
|
||||
private IIcon orbCapacityRuneIcon;
|
||||
private IIcon betterCapacityRuneIcon;
|
||||
private IIcon accelerationRuneIcon;
|
||||
|
||||
public BloodRune()
|
||||
{
|
||||
|
@ -40,6 +41,7 @@ public class BloodRune extends Block
|
|||
this.dislocationRuneIcon = iconRegister.registerIcon("AlchemicalWizardry:DislocationRune");
|
||||
this.orbCapacityRuneIcon = iconRegister.registerIcon("AlchemicalWizardry:OrbCapacityRune");
|
||||
this.betterCapacityRuneIcon = iconRegister.registerIcon("AlchemicalWizardry:BetterCapacityRune");
|
||||
this.accelerationRuneIcon = iconRegister.registerIcon("AlchemicalWizardry:AccelerationRune");
|
||||
}
|
||||
|
||||
public int getRuneEffect(int metaData)
|
||||
|
@ -60,6 +62,9 @@ public class BloodRune extends Block
|
|||
|
||||
case 4: //Better Capacity rune
|
||||
return 8;
|
||||
|
||||
case 5: //Acceleration rune
|
||||
return 9;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -79,6 +84,7 @@ public class BloodRune extends Block
|
|||
par3List.add(new ItemStack(par1, 1, 2));
|
||||
par3List.add(new ItemStack(par1, 1, 3));
|
||||
par3List.add(new ItemStack(par1, 1, 4));
|
||||
par3List.add(new ItemStack(par1, 1, 5));
|
||||
} else
|
||||
{
|
||||
super.getSubBlocks(par1, par2CreativeTabs, par3List);
|
||||
|
@ -106,6 +112,8 @@ public class BloodRune extends Block
|
|||
case 4:
|
||||
return this.betterCapacityRuneIcon;
|
||||
|
||||
case 5:
|
||||
return this.accelerationRuneIcon;
|
||||
default:
|
||||
return blockIcon;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue