Fixed entities rendering too close
This commit is contained in:
parent
5a4c8df305
commit
c38060919f
5 changed files with 30 additions and 0 deletions
|
|
@ -170,4 +170,10 @@ public class EntityChargeAir extends Entity {
|
|||
@Override
|
||||
protected void writeEntityToNBT(NBTTagCompound nbttagcompound) {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public boolean isInRangeToRenderDist(double par1){
|
||||
return par1 > 1.0D && super.isInRangeToRenderDist(par1);
|
||||
}
|
||||
}
|
||||
|
|
@ -189,4 +189,10 @@ public class EntityChargeEarth extends Entity {
|
|||
@Override
|
||||
protected void writeEntityToNBT(NBTTagCompound nbttagcompound) {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public boolean isInRangeToRenderDist(double par1){
|
||||
return par1 > 1.0D && super.isInRangeToRenderDist(par1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -167,4 +167,10 @@ public class EntityChargeEnergy extends Entity {
|
|||
@Override
|
||||
protected void writeEntityToNBT(NBTTagCompound nbttagcompound) {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public boolean isInRangeToRenderDist(double par1){
|
||||
return par1 > 1.0D && super.isInRangeToRenderDist(par1);
|
||||
}
|
||||
}
|
||||
|
|
@ -175,4 +175,10 @@ public class EntityChargeFire extends Entity {
|
|||
@Override
|
||||
protected void writeEntityToNBT(NBTTagCompound nbttagcompound) {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public boolean isInRangeToRenderDist(double par1){
|
||||
return par1 > 1.0D && super.isInRangeToRenderDist(par1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -172,4 +172,10 @@ public class EntityChargeWater extends Entity {
|
|||
@Override
|
||||
protected void writeEntityToNBT(NBTTagCompound nbttagcompound) {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public boolean isInRangeToRenderDist(double par1){
|
||||
return par1 > 1.0D && super.isInRangeToRenderDist(par1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue