Skip to content

Instantly share code, notes, and snippets.

@Jezza
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save Jezza/6dfa59e6ad07417491a1 to your computer and use it in GitHub Desktop.

Select an option

Save Jezza/6dfa59e6ad07417491a1 to your computer and use it in GitHub Desktop.
public void renderBiggerFlame(World world, double x, double y, double z, double velX, double velY, double velZ, float scale) {
if (world.isRemote)
return;
EntityFX entityfx = new EntityFlameFX(world, x, y, z, velX, velY, velZ).multipleParticleScaleBy(scale);
FMLClientHandler.instance().getClient().effectRenderer.addEffect(entityfx);
}
@Ivorforce
Copy link
Copy Markdown

public void renderBiggerFlame(World world, double x, double y, double z, double velX, double velY, double velZ, float scale) {
if (!world.isRemote)
return;
EntityFX entityfx = new EntityFlameFX(world, x, y, z, velX, velY, velZ).multipleParticleScaleBy(10F);
Minecraft.getMinecraft().effectRenderer.addEffect(entityfx);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment