|
|
@ -855,6 +855,82 @@ public class Main extends JavaPlugin |
|
|
|
nametag_color.addIngredient(md); |
|
|
|
nametag_color.addIngredient(md); |
|
|
|
Bukkit.addRecipe(nametag_color); |
|
|
|
Bukkit.addRecipe(nametag_color); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ShapedRecipe wood_sword_upgrade_recipe = new ShapedRecipe(new ItemStack(Material.WOOD_SWORD)); |
|
|
|
|
|
|
|
MaterialData base_mat = new MaterialData(Material.STICK); |
|
|
|
|
|
|
|
wood_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
wood_sword_upgrade_recipe.setIngredient('b', Material.WOOD_SWORD); |
|
|
|
|
|
|
|
wood_sword_upgrade_recipe.shape("aaa","aba","aaa"); |
|
|
|
|
|
|
|
Bukkit.addRecipe(wood_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.WOOD); |
|
|
|
|
|
|
|
wood_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(wood_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.LOG); |
|
|
|
|
|
|
|
wood_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(wood_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.COAL_BLOCK); |
|
|
|
|
|
|
|
wood_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(wood_sword_upgrade_recipe); |
|
|
|
|
|
|
|
ShapedRecipe stone_sword_upgrade_recipe = new ShapedRecipe(new ItemStack(Material.STONE_SWORD)); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.COBBLESTONE); |
|
|
|
|
|
|
|
stone_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
stone_sword_upgrade_recipe.setIngredient('b', Material.STONE_SWORD); |
|
|
|
|
|
|
|
stone_sword_upgrade_recipe.shape("aaa","aba","aaa"); |
|
|
|
|
|
|
|
Bukkit.addRecipe(stone_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.STONE); |
|
|
|
|
|
|
|
stone_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(stone_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.MOSSY_COBBLESTONE); |
|
|
|
|
|
|
|
stone_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(stone_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(98, (byte)2); //Cracked stone brick
|
|
|
|
|
|
|
|
stone_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(stone_sword_upgrade_recipe); |
|
|
|
|
|
|
|
ShapedRecipe iron_sword_upgrade_recipe = new ShapedRecipe(new ItemStack(Material.IRON_SWORD)); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.IRON_INGOT); |
|
|
|
|
|
|
|
iron_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
iron_sword_upgrade_recipe.setIngredient('b', Material.IRON_SWORD); |
|
|
|
|
|
|
|
iron_sword_upgrade_recipe.shape("aaa","aba","aaa"); |
|
|
|
|
|
|
|
Bukkit.addRecipe(iron_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.IRON_BLOCK); |
|
|
|
|
|
|
|
iron_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(iron_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.IRON_ORE); |
|
|
|
|
|
|
|
iron_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(iron_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.QUARTZ_BLOCK, (byte)2); |
|
|
|
|
|
|
|
iron_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(iron_sword_upgrade_recipe); |
|
|
|
|
|
|
|
ShapedRecipe gold_sword_upgrade_recipe = new ShapedRecipe(new ItemStack(Material.GOLD_SWORD)); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.GOLD_INGOT); |
|
|
|
|
|
|
|
gold_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
gold_sword_upgrade_recipe.setIngredient('b', Material.IRON_SWORD); |
|
|
|
|
|
|
|
gold_sword_upgrade_recipe.shape("aaa","aba","aaa"); |
|
|
|
|
|
|
|
Bukkit.addRecipe(gold_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.GOLD_BLOCK); |
|
|
|
|
|
|
|
gold_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(gold_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.GOLD_ORE); |
|
|
|
|
|
|
|
gold_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(gold_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.BEACON); |
|
|
|
|
|
|
|
gold_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(gold_sword_upgrade_recipe); |
|
|
|
|
|
|
|
ShapedRecipe diamond_sword_upgrade_recipe = new ShapedRecipe(new ItemStack(Material.DIAMOND_SWORD)); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.DIAMOND); |
|
|
|
|
|
|
|
diamond_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
diamond_sword_upgrade_recipe.setIngredient('b', Material.DIAMOND_SWORD); |
|
|
|
|
|
|
|
diamond_sword_upgrade_recipe.shape("aaa","aba","aaa"); |
|
|
|
|
|
|
|
Bukkit.addRecipe(diamond_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.DIAMOND_BLOCK); |
|
|
|
|
|
|
|
diamond_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(diamond_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.DIAMOND_ORE); |
|
|
|
|
|
|
|
diamond_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(diamond_sword_upgrade_recipe); |
|
|
|
|
|
|
|
base_mat = new MaterialData(Material.EMERALD_ORE); |
|
|
|
|
|
|
|
diamond_sword_upgrade_recipe.setIngredient('a', base_mat); |
|
|
|
|
|
|
|
Bukkit.addRecipe(diamond_sword_upgrade_recipe); |
|
|
|
|
|
|
|
|
|
|
|
ItemSetList = new ItemSetList(); |
|
|
|
ItemSetList = new ItemSetList(); |
|
|
|
ItemSetList.Init(); |
|
|
|
ItemSetList.Init(); |
|
|
|