Advertisement
Guest User

Untitled

a guest
May 19th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. package shoppy.withy.practice.managers;
  2.  
  3. import lombok.Getter;
  4. import org.bukkit.ChatColor;
  5. import org.bukkit.Material;
  6. import org.bukkit.enchantments.Enchantment;
  7. import org.bukkit.inventory.ItemStack;
  8. import shoppy.withy.practice.util.ItemUtil;
  9.  
  10. @Getter
  11. public class ItemManager {
  12.  
  13. private final ItemStack spawnItems[];
  14. private final ItemStack queueItems[];
  15. private final ItemStack partyItems[];
  16. private final ItemStack tournamentItems[];
  17. private final ItemStack eventItems[];
  18. private final ItemStack specItems[];
  19. private final ItemStack partySpecItems[];
  20.  
  21. private final ItemStack defaultBook;
  22.  
  23. public ItemManager() {
  24. this.spawnItems = new ItemStack[]{
  25. ItemUtil.createItem(Material.IRON_SWORD, ChatColor.AQUA.toString() + "Join " + ChatColor.DARK_AQUA + "Unranked" + ChatColor.AQUA + " Queue"),
  26. ItemUtil.createItem(Material.DIAMOND_SWORD, ChatColor.AQUA.toString() + "Join " + ChatColor.DARK_AQUA + "Ranked" + ChatColor.AQUA + " Queue"),
  27. null,
  28. null,
  29. ItemUtil.createItem(Material.SKULL_ITEM, ChatColor.AQUA.toString() + "Leaderboards"),
  30. null,
  31. null,
  32. null,
  33. ItemUtil.createItem(Material.BOOK, ChatColor.AQUA.toString() + "Edit Kit Loadouts"),
  34. };
  35. this.queueItems = new ItemStack[]{
  36. null,
  37. null,
  38. null,
  39. null,
  40. null,
  41. null,
  42. null,
  43. null,
  44. ItemUtil.createItem(Material.REDSTONE, ChatColor.RED.toString() + "Leave Queue")
  45. };
  46. this.specItems = new ItemStack[]{
  47. null,
  48. null,
  49. null,
  50. null,
  51. null,
  52. null,
  53. null,
  54. null,
  55. ItemUtil.createItem(Material.REDSTONE, ChatColor.RED.toString() + "Leave Spectator Mode"),
  56. };
  57. this.partySpecItems = new ItemStack[]{
  58. null,
  59. null,
  60. null,
  61. null,
  62. null,
  63. null,
  64. null,
  65. null,
  66. ItemUtil.createItem(Material.REDSTONE, ChatColor.RED.toString() + "Leave Party"),
  67. };
  68. this.tournamentItems = new ItemStack[]{
  69. ItemUtil.createItem(Material.BOOK, ChatColor.GOLD.toString() + "Edit Kits"),
  70. ItemUtil.createItem(Material.WATCH, ChatColor.GOLD.toString() + "Settings"),
  71. null,
  72. null,
  73. null,
  74. null,
  75. null,
  76. null,
  77. ItemUtil.createItem(Material.REDSTONE, ChatColor.RED.toString() + "Leave Tournament"),
  78. };
  79. this.eventItems = new ItemStack[]{
  80. ItemUtil.createItem(Material.REDSTONE, ChatColor.RED.toString() + "Leave Event"),
  81. null,
  82. null,
  83. null,
  84. null,
  85. null,
  86. null,
  87. null,
  88. null,
  89. };
  90. this.partyItems = new ItemStack[]{
  91. ItemUtil.createItem(Material.NETHER_STAR, ChatColor.AQUA.toString() + "Party Information"),
  92. ItemUtil.createItem(Material.IRON_SWORD, ChatColor.AQUA.toString() + "Join " + ChatColor.DARK_AQUA + "2v2 Unranked" + ChatColor.AQUA + " Queue"),
  93. ItemUtil.createItem(Material.DIAMOND_SWORD, ChatColor.AQUA.toString() + "Join " + ChatColor.DARK_AQUA + "2v2 Ranked" + ChatColor.AQUA + " Queue"),
  94. null,
  95. null,
  96. null,
  97. ItemUtil.createItem(Material.PAPER, ChatColor.AQUA.toString() + "Fight Other Party"),
  98. ItemUtil.createItem(Material.EYE_OF_ENDER, ChatColor.AQUA.toString() + "Start Party Event"),
  99. ItemUtil.createItem(Material.REDSTONE, ChatColor.RED.toString() + "Leave Party")
  100. };
  101. this.defaultBook = ItemUtil.createItem(Material.ENCHANTED_BOOK, ChatColor.AQUA + "Default Kit");
  102. }
  103. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement