Sort out summoned creature particles
This commit is contained in:
@@ -95,8 +95,8 @@ public class EntityBlazeMinion extends EntityBlaze implements ISummonedCreature
|
|||||||
protected void spawnParticleEffect(){
|
protected void spawnParticleEffect(){
|
||||||
if(this.world.isRemote){
|
if(this.world.isRemote){
|
||||||
for(int i = 0; i < 15; i++){
|
for(int i = 0; i < 15; i++){
|
||||||
this.world.spawnParticle(EnumParticleTypes.FLAME, this.posX + this.rand.nextFloat(),
|
this.world.spawnParticle(EnumParticleTypes.FLAME, this.posX + this.rand.nextFloat() - 0.5f,
|
||||||
this.posY + 1 + this.rand.nextFloat(), this.posZ + this.rand.nextFloat(), 0, 0, 0);
|
this.posY + this.rand.nextFloat() * height, this.posZ + this.rand.nextFloat() - 0.5f, 0, 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,9 +51,7 @@ public class EntityIceWraith extends EntityBlazeMinion {
|
|||||||
if(this.world.isRemote){
|
if(this.world.isRemote){
|
||||||
for(int i = 0; i < 15; i++){
|
for(int i = 0; i < 15; i++){
|
||||||
float brightness = 0.5f + (rand.nextFloat() / 2);
|
float brightness = 0.5f + (rand.nextFloat() / 2);
|
||||||
ParticleBuilder.create(Type.SPARKLE)
|
ParticleBuilder.create(Type.SPARKLE, this)
|
||||||
.pos(this.posX - 0.5d + rand.nextDouble(), this.posY + this.height / 2 - 0.5d + rand.nextDouble(),
|
|
||||||
this.posZ - 0.5d + rand.nextDouble())
|
|
||||||
.vel(0, 0.05f, 0)
|
.vel(0, 0.05f, 0)
|
||||||
.time(20 + rand.nextInt(10))
|
.time(20 + rand.nextInt(10))
|
||||||
.clr(brightness, brightness + 0.1f, 1.0f)
|
.clr(brightness, brightness + 0.1f, 1.0f)
|
||||||
|
|||||||
@@ -146,8 +146,8 @@ public class EntityPhoenix extends EntitySummonedCreature implements ISpellCaste
|
|||||||
private void spawnParticleEffect(){
|
private void spawnParticleEffect(){
|
||||||
if(this.world.isRemote){
|
if(this.world.isRemote){
|
||||||
for(int i = 0; i < 15; i++){
|
for(int i = 0; i < 15; i++){
|
||||||
this.world.spawnParticle(EnumParticleTypes.FLAME, this.posX + this.rand.nextFloat(),
|
this.world.spawnParticle(EnumParticleTypes.FLAME, this.posX + this.rand.nextFloat() - 0.5f,
|
||||||
this.posY + 1 + this.rand.nextFloat(), this.posZ + this.rand.nextFloat(), 0, 0, 0);
|
this.posY + this.rand.nextFloat() * height, this.posZ + this.rand.nextFloat() - 0.5f, 0, 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -127,8 +127,8 @@ public class EntitySkeletonMinion extends AbstractSkeleton implements ISummonedC
|
|||||||
private void spawnParticleEffect(){
|
private void spawnParticleEffect(){
|
||||||
if(this.world.isRemote){
|
if(this.world.isRemote){
|
||||||
for(int i = 0; i < 15; i++){
|
for(int i = 0; i < 15; i++){
|
||||||
this.world.spawnParticle(EnumParticleTypes.SMOKE_LARGE, this.posX + this.rand.nextFloat(),
|
this.world.spawnParticle(EnumParticleTypes.SMOKE_LARGE, this.posX + this.rand.nextFloat() - 0.5f,
|
||||||
this.posY + 1 + this.rand.nextFloat(), this.posZ + this.rand.nextFloat(), 0, 0, 0);
|
this.posY + this.rand.nextFloat() * height, this.posZ + this.rand.nextFloat() - 0.5f, 0, 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -126,8 +126,8 @@ public class EntityWitherSkeletonMinion extends EntityWitherSkeleton implements
|
|||||||
private void spawnParticleEffect(){
|
private void spawnParticleEffect(){
|
||||||
if(this.world.isRemote){
|
if(this.world.isRemote){
|
||||||
for(int i = 0; i < 15; i++){
|
for(int i = 0; i < 15; i++){
|
||||||
this.world.spawnParticle(EnumParticleTypes.SMOKE_LARGE, this.posX + this.rand.nextFloat(),
|
this.world.spawnParticle(EnumParticleTypes.SMOKE_LARGE, this.posX + this.rand.nextFloat() - 0.5f,
|
||||||
this.posY + 1 + this.rand.nextFloat(), this.posZ + this.rand.nextFloat(), 0, 0, 0);
|
this.posY + this.rand.nextFloat() * height, this.posZ + this.rand.nextFloat() - 0.5f, 0, 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user