private void func_82567_a( int p_82567_1_, World p_82567_2_, String p_82567_3_, double p_82567_4_, double p_82567_6_, double p_82567_8_) { int var10 = 1 << this.field_76197_d; float var11 = (float) (p_82567_4_ - (double) this.field_76201_a) / (float) var10; float var12 = (float) (p_82567_6_ - (double) this.field_76199_b) / (float) var10; byte var13 = (byte) ((int) ((double) (var11 * 2.0F) + 0.5D)); byte var14 = (byte) ((int) ((double) (var12 * 2.0F) + 0.5D)); byte var16 = 63; byte var15; if (var11 >= (float) (-var16) && var12 >= (float) (-var16) && var11 <= (float) var16 && var12 <= (float) var16) { p_82567_8_ += p_82567_8_ < 0.0D ? -8.0D : 8.0D; var15 = (byte) ((int) (p_82567_8_ * 16.0D / 360.0D)); if (this.field_76200_c < 0) { int var17 = (int) (p_82567_2_.func_72912_H().func_76073_f() / 10L); var15 = (byte) (var17 * var17 * 34187121 + var17 * 121 >> 15 & 15); } } else { if (Math.abs(var11) >= 320.0F || Math.abs(var12) >= 320.0F) { this.field_76203_h.remove(p_82567_3_); return; } p_82567_1_ = 6; var15 = 0; if (var11 <= (float) (-var16)) { var13 = (byte) ((int) ((double) (var16 * 2) + 2.5D)); } if (var12 <= (float) (-var16)) { var14 = (byte) ((int) ((double) (var16 * 2) + 2.5D)); } if (var11 >= (float) var16) { var13 = (byte) (var16 * 2 + 1); } if (var12 >= (float) var16) { var14 = (byte) (var16 * 2 + 1); } } this.field_76203_h.put(p_82567_3_, new MapCoord(this, (byte) p_82567_1_, var13, var14, var15)); }
public final void func_76558_a(World p_76558_1_) { this.field_76579_a = p_76558_1_; this.field_76577_b = p_76558_1_.func_72912_H().func_76067_t(); this.func_76572_b(); this.func_76556_a(); }