No longer needed, getRenderDistance removed because Vanilla has it now, TileEntity.func_82115_m
This commit is contained in:
parent
305a1ef66b
commit
9eeda7b4db
1 changed files with 0 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
|||
--- ../src_base/minecraft/net/minecraft/src/TileEntityRenderer.java
|
||||
+++ ../src_work/minecraft/net/minecraft/src/TileEntityRenderer.java
|
||||
@@ -126,7 +126,9 @@
|
||||
*/
|
||||
public void renderTileEntity(TileEntity par1TileEntity, float par2)
|
||||
{
|
||||
- if (par1TileEntity.getDistanceFrom(this.playerX, this.playerY, this.playerZ) < 4096.0D)
|
||||
+ double dist = par1TileEntity.getRenderDistance();
|
||||
+ dist *= dist;
|
||||
+ if (par1TileEntity.getDistanceFrom(this.playerX, this.playerY, this.playerZ) < dist)
|
||||
{
|
||||
int var3 = this.worldObj.getLightBrightnessForSkyBlocks(par1TileEntity.xCoord, par1TileEntity.yCoord, par1TileEntity.zCoord, 0);
|
||||
int var4 = var3 % 65536;
|
Loading…
Reference in a new issue