From 5ccd234e08724dfb90e5ad416771d87f591bc4fe Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Mon, 16 Dec 2013 18:00:50 +0200 Subject: stuff with rings and stuff --- common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java | 2 +- common/darkknight/jewelrycraft/tileentity/TileEntitySmelter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'common/darkknight/jewelrycraft/tileentity') diff --git a/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java b/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java index 27cd27e..e52aaf4 100644 --- a/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java +++ b/common/darkknight/jewelrycraft/tileentity/TileEntityMolder.java @@ -87,7 +87,7 @@ public class TileEntityMolder extends TileEntity for (int l = 0; l < 4; ++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); - this.worldObj.spawnParticle("reddust", (double)xCoord + Math.random(), (double)yCoord + 0.2F, (double)zCoord + Math.random(), 0.0D, 1.0D, 0.0D); + this.worldObj.spawnParticle("reddust", (double)xCoord, (double)yCoord + 0.2F, (double)zCoord, 0.0D, 1.0D, 0.0D); } } } diff --git a/common/darkknight/jewelrycraft/tileentity/TileEntitySmelter.java b/common/darkknight/jewelrycraft/tileentity/TileEntitySmelter.java index cefd21e..d25534f 100644 --- a/common/darkknight/jewelrycraft/tileentity/TileEntitySmelter.java +++ b/common/darkknight/jewelrycraft/tileentity/TileEntitySmelter.java @@ -74,7 +74,7 @@ public class TileEntitySmelter extends TileEntity this.worldObj.spawnParticle("flame", (double)xCoord + Math.random(), (double)yCoord + 0.5F, (double)zCoord + Math.random(), 0.0D, 0.0D, 0.0D); } } - if(rand.nextInt(15) == 0){ + if(rand.nextInt(65) == 0){ double d5 = (double)((float)this.xCoord + rand.nextFloat()); double d7 = (double)this.yCoord; double d6 = (double)((float)this.zCoord + rand.nextFloat()); -- cgit v1.2.3