Cleaned up orb files
This commit is contained in:
parent
7ad2a37a08
commit
778fff586a
1 changed files with 0 additions and 12 deletions
|
|
@ -16,17 +16,5 @@ public class ItemOrbEarth extends Item {
|
||||||
this.setMaxDamage(64);
|
this.setMaxDamage(64);
|
||||||
this.setCreativeTab(MysticWorld.MysticWorldTab);
|
this.setCreativeTab(MysticWorld.MysticWorldTab);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer entityPlayer)
|
|
||||||
{
|
|
||||||
world.playSoundEffect(entityPlayer.posX, entityPlayer.posY, entityPlayer.posZ, "fire.ignite", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F);
|
|
||||||
|
|
||||||
if (!world.isRemote)
|
|
||||||
{
|
|
||||||
itemStack.damageItem(1, entityPlayer);
|
|
||||||
}
|
|
||||||
|
|
||||||
return itemStack;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue