Changed damage values and cleanup

This commit is contained in:
allstar69 2013-06-22 13:07:31 -07:00
commit 34c12a65c4
5 changed files with 7 additions and 9 deletions

View file

@ -14,7 +14,7 @@ public class ItemOrbAir extends Item {
{ {
super(par1); super(par1);
this.setMaxStackSize(1); this.setMaxStackSize(1);
this.setMaxDamage(500); this.setMaxDamage(200);
this.setCreativeTab(MysticWorld.MysticWorldTab); this.setCreativeTab(MysticWorld.MysticWorldTab);
} }
@ -22,12 +22,10 @@ public class ItemOrbAir extends Item {
{ {
world.playSoundEffect(entityPlayer.posX, entityPlayer.posY, entityPlayer.posZ, "fire.ignite", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F); world.playSoundEffect(entityPlayer.posX, entityPlayer.posY, entityPlayer.posZ, "fire.ignite", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F);
double f3 = MathHelper.sqrt_double(entityPlayer.motionX * entityPlayer.motionX + entityPlayer.motionZ * entityPlayer.motionZ);
if (entityPlayer.onGround) if (entityPlayer.onGround)
entityPlayer.addVelocity(0, 2.5, 0); entityPlayer.addVelocity(0, 2.5, 0);
else else
entityPlayer.addVelocity(entityPlayer.motionX + 0.25, 0, entityPlayer.motionZ + 0.25); entityPlayer.addVelocity(entityPlayer.motionX * 1.0, 0, entityPlayer.motionZ * 1.0);
if (!world.isRemote) if (!world.isRemote)
{ {

View file

@ -13,7 +13,7 @@ public class ItemOrbEarth extends Item {
{ {
super(par1); super(par1);
this.setMaxStackSize(1); this.setMaxStackSize(1);
this.setMaxDamage(64); this.setMaxDamage(200);
this.setCreativeTab(MysticWorld.MysticWorldTab); this.setCreativeTab(MysticWorld.MysticWorldTab);
} }

View file

@ -13,7 +13,7 @@ public class ItemOrbEnergy extends Item {
{ {
super(par1); super(par1);
this.setMaxStackSize(1); this.setMaxStackSize(1);
this.setMaxDamage(64); this.setMaxDamage(200);
this.setCreativeTab(MysticWorld.MysticWorldTab); this.setCreativeTab(MysticWorld.MysticWorldTab);
} }

View file

@ -22,7 +22,7 @@ public class ItemOrbFire extends ItemFlintAndSteel {
{ {
super(par1); super(par1);
this.setMaxStackSize(1); this.setMaxStackSize(1);
this.setMaxDamage(500); this.setMaxDamage(200);
this.setCreativeTab(MysticWorld.MysticWorldTab); this.setCreativeTab(MysticWorld.MysticWorldTab);
} }

View file

@ -13,7 +13,7 @@ public class ItemOrbWater extends Item {
{ {
super(par1); super(par1);
this.setMaxStackSize(1); this.setMaxStackSize(1);
this.setMaxDamage(64); this.setMaxDamage(200);
this.setCreativeTab(MysticWorld.MysticWorldTab); this.setCreativeTab(MysticWorld.MysticWorldTab);
} }