public boolean func_75253_b() {
   if (field_75275_a.field_70170_p.func_72935_r()) {
     return false;
   } else {
     return !field_75274_b.field_75476_g
         && field_75274_b.func_75467_a(
             MathHelper.func_76128_c(field_75275_a.field_70165_t),
             MathHelper.func_76128_c(field_75275_a.field_70161_v));
   }
 }
 public boolean func_75250_a() {
   if (field_75275_a.field_70170_p.func_72935_r()) {
     return false;
   }
   Village village =
       field_75275_a.field_70170_p.field_72982_D.func_75550_a(
           MathHelper.func_76128_c(field_75275_a.field_70165_t),
           MathHelper.func_76128_c(field_75275_a.field_70163_u),
           MathHelper.func_76128_c(field_75275_a.field_70161_v),
           16);
   if (village == null) {
     return false;
   }
   field_75274_b =
       village.func_75564_b(
           MathHelper.func_76128_c(field_75275_a.field_70165_t),
           MathHelper.func_76128_c(field_75275_a.field_70163_u),
           MathHelper.func_76128_c(field_75275_a.field_70161_v));
   if (field_75274_b == null) {
     return false;
   } else {
     return (double)
             field_75274_b.func_75469_c(
                 MathHelper.func_76128_c(field_75275_a.field_70165_t),
                 MathHelper.func_76128_c(field_75275_a.field_70163_u),
                 MathHelper.func_76128_c(field_75275_a.field_70161_v))
         < 2.25D;
   }
 }
Пример #3
0
 public ChunkPosition(Vec3 p_i3744_1_) {
   this(
       MathHelper.func_76128_c(p_i3744_1_.field_72450_a),
       MathHelper.func_76128_c(p_i3744_1_.field_72448_b),
       MathHelper.func_76128_c(p_i3744_1_.field_72449_c));
 }