Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void openBlackShop(Player p) {
- Inventory shop = Bukkit.createInventory(p, 9 * 5, "§8Mercado §lNEGRO§r§7 (Loja)");
- /*
- * CAPACETE
- */
- ItemStack capacete = new ItemStack(Material.DIAMOND_HELMET);
- ItemMeta capacetem = capacete.getItemMeta();
- capacetem.setDisplayName("§eCapacete P6");
- ArrayList<String> capacetel = new ArrayList<>();
- capacetel.add("§7Proteção VI");
- capacetel.add("§7Inquebrável III");
- capacetel.add(" ");
- capacetel.add("§ePreço:§a 16 cabeças");
- capacetem.setLore(capacetel);
- // Glow glow = new Glow(-1412);
- // capacetem.addEnchant(glow, 1, true);
- capacete.setItemMeta(capacetem);
- /*
- * PEITORAL
- */
- ItemStack peitoral = new ItemStack(Material.DIAMOND_CHESTPLATE);
- ItemMeta peitoralm = peitoral.getItemMeta();
- peitoralm.setDisplayName("§ePeitoral P6");
- ArrayList<String> peitorall = new ArrayList<>();
- peitorall.add("§7Proteção VI");
- peitorall.add("§7Inquebrável III");
- peitorall.add(" ");
- peitorall.add("§ePreço:§a 16 cabeças");
- peitoralm.setLore(peitorall);
- // peitoralm.addEnchant(glow, 1, true);
- peitoral.setItemMeta(peitoralm);
- /*
- * CALÇAS
- */
- ItemStack calcas = new ItemStack(Material.DIAMOND_LEGGINGS);
- ItemMeta calcasm = calcas.getItemMeta();
- calcasm.setDisplayName("§eCalça P6");
- ArrayList<String> calcasl = new ArrayList<>();
- calcasl.add("§7Proteção VI");
- calcasl.add("§7Inquebrável III");
- calcasl.add(" ");
- calcasl.add("§ePreço:§a 16 cabeças");
- calcasm.setLore(calcasl);
- // calcasm.addEnchant(glow, 1, true);
- calcas.setItemMeta(calcasm);
- /*
- * BOTAS
- */
- ItemStack botas = new ItemStack(Material.DIAMOND_BOOTS);
- ItemMeta botasm = botas.getItemMeta();
- botasm.setDisplayName("§eBotas P6");
- ArrayList<String> botasl = new ArrayList<>();
- botasl.add("§7Proteção VI");
- botasl.add("§7Inquebrável III");
- botasl.add(" ");
- botasl.add("§ePreço:§a 16 cabeças");
- botasm.setLore(botasl);
- // botasm.addEnchant(glow, 1, true);
- botas.setItemMeta(botasm);
- /*
- * silkpick
- */
- ItemStack silkpick = new ItemStack(Material.DIAMOND_PICKAXE);
- ItemMeta silkpickm = silkpick.getItemMeta();
- silkpickm.setDisplayName("§8Mobspawner DROPER");
- ArrayList<String> silkpickl = new ArrayList<>();
- silkpickl.add("§7Toque Suave X");
- silkpickl.add(" ");
- silkpickl.add("§ePreço:§a 35 cabeças");
- silkpickm.setLore(silkpickl);
- // silkpickm.addEnchant(glow, 1, true);
- silkpick.setItemMeta(silkpickm);
- /*
- * money1kk
- */
- ItemStack money1kk = new ItemStack(Material.PAPER);
- ItemMeta money1kkm = money1kk.getItemMeta();
- money1kkm.setDisplayName("§21kk§f de money");
- ArrayList<String> money1kkl = new ArrayList<>();
- money1kkl.add(" ");
- money1kkl.add("§ePreço:§a 13 cabeças");
- money1kkm.setLore(money1kkl);
- money1kk.setItemMeta(money1kkm);
- /*
- * espada
- */
- ItemStack espada = new ItemStack(Material.DIAMOND_SWORD);
- ItemMeta espadam = espada.getItemMeta();
- espadam.setDisplayName("§eEspada");
- ArrayList<String> espadal = new ArrayList<>();
- espadal.add("§7Afiação VI");
- espadal.add("§7Inquebrável III");
- espadal.add(" ");
- espadal.add("§ePreço:§a 12 cabeças");
- espadam.setLore(espadal);
- // espadam.addEnchant(glow, 1, true);
- espada.setItemMeta(espadam);
- /*
- * arco
- */
- ItemStack arco = new ItemStack(Material.BOW);
- ItemMeta arcom = arco.getItemMeta();
- arcom.setDisplayName("§eArco");
- ArrayList<String> arcol = new ArrayList<>();
- arcol.add("§7Força v");
- arcol.add("§7Inquebrável III");
- arcol.add("§7Infinidade I");
- arcol.add(" ");
- arcol.add("§ePreço:§a 6 cabeças");
- arcom.setLore(arcol);
- // arcom.addEnchant(glow, 1, true);
- arco.setItemMeta(arcom);
- /*
- * capiroto
- */
- ItemStack capiroto = new ItemStack(Material.GOLDEN_APPLE, 25, (short) 1);
- ItemMeta capirotom = capiroto.getItemMeta();
- capirotom.setDisplayName("§5Maçã Dourada");
- ArrayList<String> capirotol = new ArrayList<>();
- capirotol.add(" ");
- capirotol.add("§ePreço:§a 3 cabeças");
- capirotom.setLore(capirotol);
- capiroto.setItemMeta(capirotom);
- /*
- * money2kk
- */
- ItemStack money2kk = new ItemStack(Material.PAPER);
- ItemMeta money2kkm = money2kk.getItemMeta();
- money2kkm.setDisplayName("§22kk§f de money");
- ArrayList<String> money2kkl = new ArrayList<>();
- money2kkl.add(" ");
- money2kkl.add("§ePreço:§a 26 cabeças");
- money2kkm.setLore(money2kkl);
- money2kk.setItemMeta(money2kkm);
- shop.setItem(10, capacete);
- shop.setItem(19, peitoral);
- shop.setItem(28, calcas);
- shop.setItem(37, botas);
- shop.setItem(42, money1kk);
- shop.setItem(43, money2kk);
- shop.setItem(16, silkpick);
- shop.setItem(15, espada);
- shop.setItem(14, arco);
- shop.setItem(11, capiroto);
- p.updateInventory();
- p.closeInventory();
- p.updateInventory();
- p.openInventory(shop);
- p.updateInventory();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement