removed unnecessary shit, fixed muzzle flash

prolly gonna figure out a systematic solution to customizing spent casing ejection/maxAge based on receiver
This commit is contained in:
Vaern 2025-02-25 19:46:02 -08:00
parent c5c6beb453
commit ec311a6d54
2 changed files with 2 additions and 9 deletions

View File

@ -222,15 +222,6 @@ public class ParticleSpentCasing extends EntityFX {
momentumYaw = (float) rand.nextGaussian() * 10F * this.config.getBounceYaw();
}
try {
this.func_145775_I();
} catch (Throwable throwable) {
CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Checking entity block collision");
CrashReportCategory crashreportcategory = crashreport.makeCategory("Entity being checked for collision");
this.addEntityCrashInfo(crashreportcategory);
throw new ReportedException(crashreport);
}
this.worldObj.theProfiler.endSection();
}

View File

@ -331,6 +331,7 @@ public abstract class ItemRenderWeaponBase implements IItemRenderer {
double inset = 2;
Minecraft.getMinecraft().renderEngine.bindTexture(flash_plume);
tess.startDrawingQuads();
tess.setBrightness(240);
tess.setNormal(0F, 1F, 0F);
tess.setColorRGBA_F(1F, 1F, 1F, 1F);
@ -379,6 +380,7 @@ public abstract class ItemRenderWeaponBase implements IItemRenderer {
double lengthOffset = 0.125;
Minecraft.getMinecraft().renderEngine.bindTexture(flash_plume);
tess.startDrawingQuads();
tess.setBrightness(240);
tess.setNormal(0F, 1F, 0F);
tess.setColorRGBA_F(1F, 1F, 1F, 1F);