Exemplo n.º 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));
  }
Exemplo n.º 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));
  }