Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.greenadine.advancedspawners.handler;
- import org.bukkit.DyeColor;
- import org.bukkit.Material;
- import org.bukkit.inventory.ItemStack;
- @SuppressWarnings("deprecation")
- public class Items1_12 extends Items {
- public ItemStack spawner() {
- return spawner(1);
- }
- public ItemStack exp_bottle() {
- return exp_bottle(1);
- }
- public ItemStack wood_pickaxe() {
- return wood_pickaxe(1);
- }
- public ItemStack gold_pickaxe() {
- return gold_pickaxe(1);
- }
- public ItemStack white_stained_glass_pane() {
- return white_stained_glass_pane(1);
- }
- public ItemStack light_blue_stained_glass_pane() {
- return light_blue_stained_glass_pane(1);
- }
- public ItemStack white_wool() {
- return white_wool(1);
- }
- public ItemStack lime_wool() {
- return lime_wool(1);
- }
- public ItemStack red_wool() {
- return red_wool(1);
- }
- public ItemStack spawner(int i) {
- return new ItemStack(Material.valueOf("MOB_SPAWNER"), i);
- }
- public ItemStack exp_bottle(int i) {
- return new ItemStack(Material.valueOf("EXP_BOTTLE"), i);
- }
- public ItemStack wood_pickaxe(int i) {
- return new ItemStack(Material.valueOf("WOOD_PICKAXE"), i);
- }
- public ItemStack gold_pickaxe(int i) {
- return new ItemStack(Material.valueOf("GOLD_PICKAXE"), i);
- }
- public ItemStack white_stained_glass_pane(int i) {
- return new ItemStack(Material.valueOf("STAINED_GLASS_PANE"), i, DyeColor.WHITE.getWoolData());
- }
- public ItemStack light_blue_stained_glass_pane(int i) {
- return new ItemStack(Material.valueOf("STAINED_GLASS_PANE"), i, DyeColor.LIGHT_BLUE.getWoolData());
- }
- public ItemStack white_wool(int i) {
- ItemStack item = new ItemStack(Material.valueOf("WOOL"), 1);
- item.setDurability(DyeColor.WHITE.getWoolData());
- return item;
- }
- public ItemStack lime_wool(int i) {
- ItemStack item = new ItemStack(Material.valueOf("WOOL"), 1);
- item.setDurability(DyeColor.LIME.getWoolData());
- return item;
- }
- public ItemStack red_wool(int i) {
- ItemStack item = new ItemStack(Material.valueOf("WOOL"), 1);
- item.setDurability(DyeColor.RED.getWoolData());
- return item;
- }
- }
Add Comment
Please, Sign In to add comment