Vec3d look = new Vec3d(field_190016_K.xCoord, field_190016_K.yCoord, field_190016_K.zCoord).normalize();
Vec3d diff = new Vec3d(this.posX - interpPosX, this.posY - interpPosY, this.posZ - interpPosZ).normalize();
float angle = (float) Math.toDegrees(Math.acos(look.dotProduct(diff)));
float fogEnd = FogHandler.getCurrentFogEnd();
float fogStart = FogHandler.getCurrentFogEnd();
<BUG>float particleDist = (float)Minecraft.getMinecraft().getRenderViewEntity().getDistance(this.posX, this.posY, this.posZ);
float fadeStart = Math.max(fogStart + (fogEnd - fogStart) / 3.0F, 12.0F);</BUG>
float fadeEnd = 8.0F;
float alpha = 1.0F;
if(particleDist < fadeStart) {

Vec3d look = new Vec3d(field_190016_K.xCoord, field_190016_K.yCoord, field_190016_K.zCoord).normalize();
Vec3d diff = new Vec3d(this.posX - interpPosX, this.posY - interpPosY, this.posZ - interpPosZ).normalize();
float angle = (float) Math.toDegrees(Math.acos(look.dotProduct(diff)));
float fogEnd = FogHandler.getCurrentFogEnd();
float fogStart = FogHandler.getCurrentFogEnd();
Entity renderView = Minecraft.getMinecraft().getRenderViewEntity();
float particleDist = renderView == null ? 0.0F : (float)renderView.getDistance(this.posX, this.posY, this.posZ);
float fadeStart = Math.max(fogStart + (fogEnd - fogStart) / 3.0F, 12.0F);
float fadeEnd = 8.0F;
float alpha = 1.0F;
if(particleDist < fadeStart) {
