Exemplo n.º 1
0
  public boolean func_48135_b(EntityAnimal par1EntityAnimal) {
    if (par1EntityAnimal == this) {
      return false;
    }

    if (!isTamed()) {
      return false;
    }

    if (!(par1EntityAnimal instanceof EntityOcelot)) {
      return false;
    }

    EntityOcelot entityocelot = (EntityOcelot) par1EntityAnimal;

    if (!entityocelot.isTamed()) {
      return false;
    } else {
      return isInLove() && entityocelot.isInLove();
    }
  }