Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package shoppy.withy.practice.managers;
- import lombok.Getter;
- import org.bukkit.ChatColor;
- import org.bukkit.Material;
- import org.bukkit.enchantments.Enchantment;
- import org.bukkit.inventory.ItemStack;
- import shoppy.withy.practice.util.ItemUtil;
- @Getter
- public class ItemManager {
- private final ItemStack spawnItems[];
- private final ItemStack queueItems[];
- private final ItemStack partyItems[];
- private final ItemStack tournamentItems[];
- private final ItemStack eventItems[];
- private final ItemStack specItems[];
- private final ItemStack partySpecItems[];
- private final ItemStack defaultBook;
- public ItemManager() {
- this.spawnItems = new ItemStack[]{
- ItemUtil.createItem(Material.IRON_SWORD, ChatColor.AQUA.toString() + "Join " + ChatColor.DARK_AQUA + "Unranked" + ChatColor.AQUA + " Queue"),
- ItemUtil.createItem(Material.DIAMOND_SWORD, ChatColor.AQUA.toString() + "Join " + ChatColor.DARK_AQUA + "Ranked" + ChatColor.AQUA + " Queue"),
- null,
- null,
- ItemUtil.createItem(Material.SKULL_ITEM, ChatColor.AQUA.toString() + "Leaderboards"),
- null,
- null,
- null,
- ItemUtil.createItem(Material.BOOK, ChatColor.AQUA.toString() + "Edit Kit Loadouts"),
- };
- this.queueItems = new ItemStack[]{
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- ItemUtil.createItem(Material.REDSTONE, ChatColor.RED.toString() + "Leave Queue")
- };
- this.specItems = new ItemStack[]{
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- ItemUtil.createItem(Material.REDSTONE, ChatColor.RED.toString() + "Leave Spectator Mode"),
- };
- this.partySpecItems = new ItemStack[]{
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- ItemUtil.createItem(Material.REDSTONE, ChatColor.RED.toString() + "Leave Party"),
- };
- this.tournamentItems = new ItemStack[]{
- ItemUtil.createItem(Material.BOOK, ChatColor.GOLD.toString() + "Edit Kits"),
- ItemUtil.createItem(Material.WATCH, ChatColor.GOLD.toString() + "Settings"),
- null,
- null,
- null,
- null,
- null,
- null,
- ItemUtil.createItem(Material.REDSTONE, ChatColor.RED.toString() + "Leave Tournament"),
- };
- this.eventItems = new ItemStack[]{
- ItemUtil.createItem(Material.REDSTONE, ChatColor.RED.toString() + "Leave Event"),
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- null,
- };
- this.partyItems = new ItemStack[]{
- ItemUtil.createItem(Material.NETHER_STAR, ChatColor.AQUA.toString() + "Party Information"),
- ItemUtil.createItem(Material.IRON_SWORD, ChatColor.AQUA.toString() + "Join " + ChatColor.DARK_AQUA + "2v2 Unranked" + ChatColor.AQUA + " Queue"),
- ItemUtil.createItem(Material.DIAMOND_SWORD, ChatColor.AQUA.toString() + "Join " + ChatColor.DARK_AQUA + "2v2 Ranked" + ChatColor.AQUA + " Queue"),
- null,
- null,
- null,
- ItemUtil.createItem(Material.PAPER, ChatColor.AQUA.toString() + "Fight Other Party"),
- ItemUtil.createItem(Material.EYE_OF_ENDER, ChatColor.AQUA.toString() + "Start Party Event"),
- ItemUtil.createItem(Material.REDSTONE, ChatColor.RED.toString() + "Leave Party")
- };
- this.defaultBook = ItemUtil.createItem(Material.ENCHANTED_BOOK, ChatColor.AQUA + "Default Kit");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement