This commit is contained in:
fewizz committed 2016-10-13 16:16:08 +03:00
1 parent 44114660b1
commit 28535c1d72
2 files changed
+2 -2

No files matched your search

@@ -31,7 +31,7 @@ public class BlockElectricCloud extends BlockBase {
public BlockElectricCloud(String unlocName) {
super(unlocName, Material.cloth, soundTypeCloth, 0.1f);
//setBlockBounds(0.3f, 0.3f, 0.3f, 0.7f, 0.7f, 0.7f);
setBlockBounds(0.3f, 0.3f, 0.3f, 0.7f, 0.7f, 0.7f);
}
@SideOnly(Side.CLIENT)
@@ -38,7 +38,7 @@ public class TileElectricCloud extends TileEntity {
}
}
if (worldObj.rand.nextInt(5) == 0) {
if (worldObj.rand.nextInt(3) == 0) {
FXWisp wisp = new FXWisp(worldObj, xCoord + 0.5 + ((worldObj.rand.nextInt(40) / 160f) - 0.125f), yCoord + 0.5, zCoord + 0.5 + ((worldObj.rand.nextInt(40) / 160f) - 0.125f), 0.4f + worldObj.rand.nextInt(40) / 100f, 1);
wisp.setGravity(-0.02F);
wisp.setRBGColorF(worldObj.rand.nextInt(40) / 100f, 0, 1);