mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
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:
parent
c5c6beb453
commit
ec311a6d54
@ -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();
|
||||
}
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user