Skip to content
Permalink
Browse files

Species 223ODe no longer drops acid upon death.

  • Loading branch information...
Ri5ux committed Mar 15, 2019
1 parent 9fbc97b commit 2b0236126b0b37d134bac61c1556550418110733
@@ -8,4 +8,10 @@ public EntitySpecies223ODe(World world)
{
super(world);
}

@Override
protected void spawnAcidPool()
{
;
}
}
@@ -94,6 +94,13 @@ protected boolean canDespawn()
return false;
}

protected void spawnAcidPool()
{
EntityAcidPool entity = new EntityAcidPool(this.world);
entity.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch);
this.world.spawnEntity(entity);
}

@Override
public void onDeath(DamageSource damagesource)
{
@@ -103,9 +110,7 @@ public void onDeath(DamageSource damagesource)
{
if (damagesource != DamageSource.ON_FIRE && damagesource != DamageSource.IN_FIRE && damagesource != DamageSources.flamethrower)
{
EntityAcidPool entity = new EntityAcidPool(this.world);
entity.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch);
this.world.spawnEntity(entity);
this.spawnAcidPool();
}

int adjustedLevel = this.getJellyLevel() / 4;
@@ -365,13 +370,13 @@ public boolean isAnimationPaused()
{
return this.isAnimationPaused;
}

@Override
public void pauseAnimation()
{
this.isAnimationPaused = true;
}

@Override
public void playAnimation()
{

0 comments on commit 2b02361

Please sign in to comment.
You can’t perform that action at this time.