Пример #1
0
  public boolean func_77660_a(
      ItemStack p_77660_1_,
      World p_77660_2_,
      int p_77660_3_,
      int p_77660_4_,
      int p_77660_5_,
      int p_77660_6_,
      EntityLivingBase p_77660_7_) {
    if ((double)
            Block.field_71973_m[p_77660_3_].func_71934_m(
                p_77660_2_, p_77660_4_, p_77660_5_, p_77660_6_)
        != 0.0D) {
      p_77660_1_.func_77972_a(1, p_77660_7_);
    }

    return true;
  }
Пример #2
0
 public boolean func_77644_a(
     ItemStack p_77644_1_, EntityLivingBase p_77644_2_, EntityLivingBase p_77644_3_) {
   p_77644_1_.func_77972_a(2, p_77644_3_);
   return true;
 }