Package us.deathmarine.diablodrops.items

Examples of us.deathmarine.diablodrops.items.IdentifyTome


  public ItemStack getItem() {
    if (plugin.getSingleRandom().nextBoolean()
        && plugin.getConfig().getBoolean("IdentifyTome.Enabled", true)
        && (plugin.getSingleRandom().nextInt(10000) <= plugin
            .getSettings().getTomeChance()))
      return new IdentifyTome();
    /*
     * if (plugin.getSingleRandom().nextBoolean() &&
     * plugin.getConfig().getBoolean("SocketItem.Enabled", true) &&
     * (plugin.getSingleRandom().nextInt(10000) <= plugin
     * .getSettings().getSocketChance())) { List<String> l =
View Full Code Here


    pm.registerEvents(new EffectsListener(this), this);
    pm.registerEvents(new SetListener(this), this);

    getCommand("diablodrops").setExecutor(new DiabloDropCommand(this));

    ShapelessRecipe re = new ShapelessRecipe(new IdentifyTome());
    re.addIngredient(3, Material.BOOK);
    re.addIngredient(Material.EYE_OF_ENDER);
    this.getServer().addRecipe(re);

    if (config.getBoolean("Plugin.AutoUpdate", true)) {
View Full Code Here

          + "You have been given a DiabloDrops item.");
      return true;
    }
    if (args[0].equalsIgnoreCase("tome")
        || args[0].equalsIgnoreCase("book")) {
      player.getInventory().addItem(new IdentifyTome());
      player.sendMessage(ChatColor.GREEN
          + "You have been given an Identify Tome.");
    } else /*
         * if (args[0].equalsIgnoreCase("socket") ||
         * args[0].equalsIgnoreCase("socketitem")) { List<String> l =
View Full Code Here

TOP

Related Classes of us.deathmarine.diablodrops.items.IdentifyTome

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.