157158159160161162163164165
} if (!this.worldObj.isRemote && this.fireworkAge > this.lifetime) { this.worldObj.setEntityState(this, (byte) 17); this.rider.attackEntityFrom(new DamageSourceFireworkExplode("FireworkExplode"), 200F); this.setDead(); } }