Example #1
0
  /** Summon a horse to your side. */
  public void summonHorse() {
    if (!Permissions.callOfTheWild(getPlayer(), EntityType.HORSE)) {
      return;
    }

    callOfTheWild(EntityType.HORSE, Config.getInstance().getTamingCOTWCost(EntityType.HORSE));
  }
Example #2
0
  /** Summon an ocelot to your side. */
  public void summonOcelot() {
    if (!Permissions.callOfTheWild(getPlayer(), EntityType.OCELOT)) {
      return;
    }

    callOfTheWild(EntityType.OCELOT, Config.getInstance().getTamingCOTWCost(EntityType.OCELOT));
  }