Fix blue slimes, heart canisters

This commit is contained in:
mDiyo committed 2013-07-28 19:56:01 -07:00
1 parent 1b982c3826
commit d512d67679
15 files changed
+108 -36

No files matched your search

+2 -2
View File
@@ -49,7 +49,7 @@ public class FryingPan extends Weapon
@Override
public void onEntityDamaged (World world, EntityLivingBase player, Entity entity)
{
world.playSoundEffect(entity.posX, entity.posY, entity.posZ, "sounds.frypan_hit", 1.0F, (random.nextFloat() - random.nextFloat()) * 0.2F + 1.0F);
world.playSoundEffect(entity.posX, entity.posY, entity.posZ, "tinker:frypan_hit", 1.0F, (random.nextFloat() - random.nextFloat()) * 0.2F + 1.0F);
}
public String getToolName ()
@@ -128,7 +128,7 @@ public class FryingPan extends Weapon
else
{
world.setBlock(x, y, z, TContent.heldItemBlock.blockID, 0, 3);
world.playSoundEffect(x, y, z, "sounds.frypan_hit", 1.0F, (random.nextFloat() - random.nextFloat()) * 0.2F + 0.65F);
world.playSoundEffect(x, y, z, "tinker:frypan_hit", 1.0F, (random.nextFloat() - random.nextFloat()) * 0.2F + 0.65F);
EquipLogic logic = (EquipLogic) world.getBlockTileEntity(x, y, z);
logic.setEquipmentItem(stack);