mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 08:21:32 +01:00
better
This commit is contained in:
parent
ba6418e435
commit
f9ef09f72d
@ -79,13 +79,16 @@ public class RendererLivingEntityMixin<T extends EntityLivingBase> {
|
||||
if (entity instanceof IMob && entityDistance > Client.getInstance().getSettingsManager().getSettingByClass(FPSBoostMod.class, "Hostile Entity Render Distance").getValInt()) {
|
||||
ci.cancel();
|
||||
return;
|
||||
} else if ((entity instanceof EntityAnimal || entity instanceof EntityAmbientCreature || entity instanceof EntityWaterMob) && entityDistance > Client.getInstance().getSettingsManager().getSettingByClass(FPSBoostMod.class, "Passive Entity Render Distance").getValInt()) {
|
||||
}
|
||||
if ((entity instanceof EntityAnimal || entity instanceof EntityAmbientCreature || entity instanceof EntityWaterMob) && entityDistance > Client.getInstance().getSettingsManager().getSettingByClass(FPSBoostMod.class, "Passive Entity Render Distance").getValInt()) {
|
||||
ci.cancel();
|
||||
return;
|
||||
} else if (entity instanceof EntityPlayer && entityDistance > Client.getInstance().getSettingsManager().getSettingByClass(FPSBoostMod.class, "Player Render Distance").getValInt()) {
|
||||
}
|
||||
if (entity instanceof EntityPlayer && entityDistance > Client.getInstance().getSettingsManager().getSettingByClass(FPSBoostMod.class, "Player Render Distance").getValInt()) {
|
||||
ci.cancel();
|
||||
return;
|
||||
} else if (entityDistance > Client.getInstance().getSettingsManager().getSettingByClass(FPSBoostMod.class, "Misc. Entity Render Distance").getValInt()) {
|
||||
}
|
||||
if (entityDistance > Client.getInstance().getSettingsManager().getSettingByClass(FPSBoostMod.class, "Misc. Entity Render Distance").getValInt()) {
|
||||
ci.cancel();
|
||||
return;
|
||||
}
|
||||
|
@ -163,8 +163,6 @@ public class EntityCulling {
|
||||
return;
|
||||
}
|
||||
|
||||
// System.out.println("Working!!");
|
||||
|
||||
//#if MC==10809
|
||||
EntityLivingBase entity = (EntityLivingBase)event.getEntity();
|
||||
//#else
|
||||
@ -198,8 +196,10 @@ public class EntityCulling {
|
||||
//$$ RenderLivingBase<EntityLivingBase> renderer = event.getRenderer();
|
||||
//#endif
|
||||
|
||||
if(entity instanceof EntityPlayer) {
|
||||
renderer.renderName(entity, x, y, z);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user