private boolean func_72127_a( World p_72127_1_, int p_72127_2_, int p_72127_3_, int p_72127_4_, boolean p_72127_5_) { if (!field_72129_b.containsKey(p_72127_1_)) { field_72129_b.put(p_72127_1_, new ArrayList()); } if (p_72127_5_) { ((List) field_72129_b.get(p_72127_1_)) .add( new RedstoneUpdateInfo( p_72127_2_, p_72127_3_, p_72127_4_, p_72127_1_.func_72820_D())); } int var6 = 0; Iterator var7 = ((List) field_72129_b.get(p_72127_1_)).iterator(); while (var7.hasNext()) { RedstoneUpdateInfo var8 = (RedstoneUpdateInfo) var7.next(); if (var8.field_73664_a == p_72127_2_ && var8.field_73662_b == p_72127_3_ && var8.field_73663_c == p_72127_4_) { ++var6; if (var6 >= 8) { return true; } } } return false; }
public void func_71847_b( World p_71847_1_, int p_71847_2_, int p_71847_3_, int p_71847_4_, Random p_71847_5_) { boolean var6 = this.func_72128_l(p_71847_1_, p_71847_2_, p_71847_3_, p_71847_4_); List var7 = (List) field_72129_b.get(p_71847_1_); while (var7 != null && !var7.isEmpty() && p_71847_1_.func_72820_D() - ((RedstoneUpdateInfo) var7.get(0)).field_73661_d > 60L) { var7.remove(0); } if (this.field_72130_a) { if (var6) { p_71847_1_.func_72832_d( p_71847_2_, p_71847_3_, p_71847_4_, Block.field_72049_aP.field_71990_ca, p_71847_1_.func_72805_g(p_71847_2_, p_71847_3_, p_71847_4_)); if (this.func_72127_a(p_71847_1_, p_71847_2_, p_71847_3_, p_71847_4_, true)) { p_71847_1_.func_72908_a( (double) ((float) p_71847_2_ + 0.5F), (double) ((float) p_71847_3_ + 0.5F), (double) ((float) p_71847_4_ + 0.5F), "random.fizz", 0.5F, 2.6F + (p_71847_1_.field_73012_v.nextFloat() - p_71847_1_.field_73012_v.nextFloat()) * 0.8F); for (int var8 = 0; var8 < 5; ++var8) { double var9 = (double) p_71847_2_ + p_71847_5_.nextDouble() * 0.6D + 0.2D; double var11 = (double) p_71847_3_ + p_71847_5_.nextDouble() * 0.6D + 0.2D; double var13 = (double) p_71847_4_ + p_71847_5_.nextDouble() * 0.6D + 0.2D; p_71847_1_.func_72869_a("smoke", var9, var11, var13, 0.0D, 0.0D, 0.0D); } } } } else if (!var6 && !this.func_72127_a(p_71847_1_, p_71847_2_, p_71847_3_, p_71847_4_, false)) { p_71847_1_.func_72832_d( p_71847_2_, p_71847_3_, p_71847_4_, Block.field_72035_aQ.field_71990_ca, p_71847_1_.func_72805_g(p_71847_2_, p_71847_3_, p_71847_4_)); } }