mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
parent
ee99b1fccc
commit
28eb55582f
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ public class TileEntityEmpowerer extends TileEntityInventoryBase{
|
||||||
stand.slots.decrStackSize(0, 1);
|
stand.slots.decrStackSize(0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
AssetUtil.shootParticles(this.world, stand.getPos().getX(), stand.getPos().getY()+0.45F, stand.getPos().getZ(), this.pos.getX(), this.pos.getY(), this.pos.getZ(), recipe.particleColor, 8, 0.5F, 1F);
|
AssetUtil.shootParticles(this.world, stand.getPos().getX(), stand.getPos().getY()+0.45F, stand.getPos().getZ(), this.pos.getX(), this.pos.getY(), this.pos.getZ(), recipe.particleColor, 8, 0.5F, 0.45F);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.processTime%5 == 0 && this.world instanceof WorldServer){
|
if(this.processTime%5 == 0 && this.world instanceof WorldServer){
|
||||||
|
|
|
@ -198,7 +198,7 @@ public final class AssetUtil{
|
||||||
|
|
||||||
for(int times = 0; times < Math.max(particleAmount/2, 1); times++){
|
for(int times = 0; times < Math.max(particleAmount/2, 1); times++){
|
||||||
for(double i = 0; i <= 1; i += 1/(distance*particleAmount)){
|
for(double i = 0; i <= 1; i += 1/(distance*particleAmount)){
|
||||||
if(particleSetting == 0 || (particleSetting == 1 && mc.world.rand.nextFloat() >= 0.8F) || (particleSetting > 1 && mc.world.rand.nextFloat() >= 0.98F)){
|
if(particleSetting == 0 || (particleSetting == 1 && mc.world.rand.nextFloat() >= 0.8F) || (particleSetting > 1 && mc.world.rand.nextFloat() >= 0.99F)){
|
||||||
ParticleColored fx = new ParticleColored(mc.world, (difX*i)+endX+0.5, (difY*i)+endY+0.5, (difZ*i)+endZ+0.5, particleSize, color[0], color[1], color[2], ageMultiplier);
|
ParticleColored fx = new ParticleColored(mc.world, (difX*i)+endX+0.5, (difY*i)+endY+0.5, (difZ*i)+endZ+0.5, particleSize, color[0], color[1], color[2], ageMultiplier);
|
||||||
mc.effectRenderer.addEffect(fx);
|
mc.effectRenderer.addEffect(fx);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue