avatar
Untitled

Guest 52 7th Jun, 2019

MARKUP 1.08 KB
                                           
                         for (int k = 0; k < list.size(); ++k)
                {
                    Entity entity3 = (Entity)list.get(k);

                    if (!flag || Reflector.callBoolean(entity3, Reflector.ForgeEntity_shouldRenderInPass, new Object[] {Integer.valueOf(i)}))
                    {
                        boolean flag2 = this.mc.getRenderViewEntity() instanceof EntityLivingBase && ((EntityLivingBase)this.mc.getRenderViewEntity()).isPlayerSleeping();
                        boolean flag3 = entity3.isInRangeToRender3d(d0, d1, d2) && (entity3.ignoreFrustumCheck || camera.isBoundingBoxInFrustum(entity3.getEntityBoundingBox()) || entity3.riddenByEntity == this.mc.thePlayer) && entity3 instanceof EntityPlayer;

                        if ((entity3 != this.mc.getRenderViewEntity() || this.mc.gameSettings.thirdPersonView != 0 || flag2) && flag3)
                        {
                            this.renderManager.renderEntitySimple(entity3, partialTicks);
                        }
                    }
                }
                      
                                       
RAW Paste Data