From 188150bf829add4418cdbb15f679d705b489ff9e Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Fri, 20 Dec 2013 11:47:07 +0200 Subject: Working stuff --- common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java') diff --git a/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java b/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java index 70f0346..608ceb9 100644 --- a/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java +++ b/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java @@ -77,7 +77,7 @@ public class TileEntityMolder extends TileEntity } if (moltenMetal.itemID != 0) { - this.worldObj.playSoundEffect(xCoord, yCoord + 0.5F, zCoord, "random.fizz", 0.5F, 1F); + if(worldObj.rand.nextInt(20) == 0) this.worldObj.playSoundEffect(xCoord, yCoord + 0.5F, zCoord, "random.fizz", 0.5F, 1F); for (int l = 0; l < 2; ++l) { //EntityFX entityfx = new EntityReddustFX(this.worldObj, (double)xCoord + Math.random(), (double)yCoord + 0.2D, (double)zCoord + Math.random(), 0.0F, 0.0F, 0.0F); -- cgit v1.2.3