Particle Settings
Grinder Fix.
This commit is contained in:
@@ -2,6 +2,7 @@ package appeng.client;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.particle.EntityFX;
|
||||
@@ -104,4 +105,13 @@ public class ClientHelper extends ServerHelper
|
||||
|
||||
Minecraft.getMinecraft().effectRenderer.addEffect( (EntityFX) fx );
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldAddParticles(Random r)
|
||||
{
|
||||
if ( Minecraft.getMinecraft().gameSettings.particleSetting == 0 )
|
||||
return true;
|
||||
return r.nextInt( Minecraft.getMinecraft().gameSettings.particleSetting ) == 0;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -37,9 +37,6 @@ public class ToolBiometricCardRender implements IItemRenderer
|
||||
float f5 = ((Icon) par2Icon).getMaxU();
|
||||
float f6 = ((Icon) par2Icon).getMinV();
|
||||
float f7 = ((Icon) par2Icon).getMaxV();
|
||||
float f8 = 1.0F;
|
||||
float f9 = 0.0F;
|
||||
float f10 = 0.0F;
|
||||
float f12 = 0.0625F;
|
||||
|
||||
Tessellator tessellator = Tessellator.instance;
|
||||
|
||||
Reference in New Issue
Block a user