private static boolean func_72292_n( World p_72292_0_, int p_72292_1_, int p_72292_2_, int p_72292_3_) { Iterator var4 = p_72292_0_ .func_72872_a( EntityOcelot.class, AxisAlignedBB.func_72332_a() .func_72299_a( (double) p_72292_1_, (double) (p_72292_2_ + 1), (double) p_72292_3_, (double) (p_72292_1_ + 1), (double) (p_72292_2_ + 2), (double) (p_72292_3_ + 1))) .iterator(); EntityOcelot var6; do { if (!var4.hasNext()) { return false; } EntityOcelot var5 = (EntityOcelot) var4.next(); var6 = (EntityOcelot) var5; } while (!var6.func_70906_o()); return true; }
private static boolean func_72292_n( World p_72292_0_, int p_72292_1_, int p_72292_2_, int p_72292_3_) { for (Iterator iterator = p_72292_0_ .func_72872_a( net.minecraft.src.EntityOcelot.class, AxisAlignedBB.func_72332_a() .func_72299_a( p_72292_1_, p_72292_2_ + 1, p_72292_3_, p_72292_1_ + 1, p_72292_2_ + 2, p_72292_3_ + 1)) .iterator(); iterator.hasNext(); ) { EntityOcelot entityocelot = (EntityOcelot) iterator.next(); EntityOcelot entityocelot1 = (EntityOcelot) entityocelot; if (entityocelot1.func_70906_o()) { return true; } } return false; }