mirror of
https://github.com/GTNewHorizons/ThaumicTinkerer.git
synced 2026-10-25 20:32:29 +00:00
Effect restore
Restored essentia particle effect during enchanting
This commit is contained in:
1 parent
169ee31b8e
commit
f259ae670b
1 file changed
+7
-2
@@ -162,10 +162,15 @@ public class TileEnchanter extends TileEntity implements ISidedInventory, IMovab
|
||||
currentAspects.add(aspect, 1);
|
||||
Tuple4Int p = pillars.get(i);
|
||||
if (worldObj.rand.nextBoolean()) {
|
||||
Thaumcraft.proxy.blockRunes(worldObj, p.i1, p.i4 - 0.75, p.i3, 0.3F + worldObj.rand.nextFloat() * 0.7F, 0.0F, 0.3F + worldObj.rand.nextFloat() * 0.7F, 15, worldObj.rand.nextFloat() / 8F);
|
||||
|
||||
Thaumcraft.proxy.essentiaTrailFx(getWorldObj(), p.i1, p.i4, p.i3, xCoord, yCoord, zCoord, 1, aspect.getColor(), worldObj.rand.nextFloat() * 0.5F + 0.5F);
|
||||
//Thaumcraft.proxy.essentiaTrailFx(getWorldObj(), p.i1, p.i4, p.i3, xCoord, yCoord, zCoord, 4, aspect.getColor(), worldObj.rand.nextFloat() * 0.5F + 0.5F);
|
||||
|
||||
Thaumcraft.proxy.blockRunes(worldObj, p.i1, p.i4 - 0.75, p.i3, 0.3F + worldObj.rand.nextFloat() * 0.7F, 0.0F, 0.3F + worldObj.rand.nextFloat() * 0.7F, 15, worldObj.rand.nextFloat() / 8F);
|
||||
Thaumcraft.proxy.blockRunes(worldObj, xCoord, yCoord + 0.25, zCoord, 0.3F + worldObj.rand.nextFloat() * 0.7F, 0.0F, 0.3F + worldObj.rand.nextFloat() * 0.7F, 15, worldObj.rand.nextFloat() / 8F);
|
||||
if (worldObj.rand.nextInt(5) == 0)
|
||||
worldObj.playSoundEffect(p.i1, p.i2, p.i3, "thaumcraft:brain", 0.5F, 1F);
|
||||
worldObj.playSoundEffect(p.i1, p.i2, p.i3, "thaumcraft:egidle", 0.5F, 1F);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user