diff --git a/BankEconomyMod/src/me/kaZep/Base/Main.java b/BankEconomyMod/src/me/kaZep/Base/Main.java index 1ab98b3..5662d41 100644 --- a/BankEconomyMod/src/me/kaZep/Base/Main.java +++ b/BankEconomyMod/src/me/kaZep/Base/Main.java @@ -396,7 +396,7 @@ public class Main extends JavaPlugin shovel.setItemMeta(shovel_meta); shovel.addUnsafeEnchantment(Enchantment.ARROW_DAMAGE, 1); ShapedRecipe battle_shovel = new ShapedRecipe(shovel); - battle_shovel.shape("-a-","-b-","-b-"); + battle_shovel.shape("a","b","b"); battle_shovel.setIngredient('a', Material.LAPIS_BLOCK); battle_shovel.setIngredient('b', Material.STICK); Bukkit.addRecipe(battle_shovel); @@ -619,6 +619,20 @@ public class Main extends JavaPlugin Bukkit.addRecipe(woolRecipe); } + ShapelessRecipe flint_and_steel_Recipe = new ShapelessRecipe(new ItemStack(Material.FLINT_AND_STEEL)); + flint_and_steel_Recipe.addIngredient(Material.FLINT); + flint_and_steel_Recipe.addIngredient(Material.IRON_INGOT); + Bukkit.addRecipe(flint_and_steel_Recipe); + + ShapelessRecipe sticky_piston_Recipe = new ShapelessRecipe(new ItemStack(Material.PISTON_STICKY_BASE)); + sticky_piston_Recipe.addIngredient(Material.PISTON_BASE); + sticky_piston_Recipe.addIngredient(Material.SLIME_BALL); + Bukkit.addRecipe(sticky_piston_Recipe); + + ShapelessRecipe Deconv_sticky_piston_Recipe = new ShapelessRecipe(new ItemStack(Material.PISTON_BASE)); + Deconv_sticky_piston_Recipe.addIngredient(Material.PISTON_STICKY_BASE); + Bukkit.addRecipe(Deconv_sticky_piston_Recipe); + // Add Recipes for Item cube crafting. ItemStack temp = new ItemStack(Material.CHEST); ItemMeta tempmeta = temp.getItemMeta(); diff --git a/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java b/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java index ac1e84f..4172bf8 100644 --- a/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java +++ b/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java @@ -13099,10 +13099,10 @@ implements Listener //Bukkit.getLogger().info("Click type is "+event.getClick().toString()); if (isViewingEnderCube(p) && (event.getClick()==ClickType.NUMBER_KEY || ((event.getClick()==ClickType.SHIFT_LEFT || event.getClick()==ClickType.SHIFT_RIGHT) && event.getCurrentItem()!=null && event.getCurrentItem().getType()!=Material.AIR) || ((event.getClick()==ClickType.LEFT || event.getClick()==ClickType.RIGHT) && event.getRawSlot()<27 && ((event.getCursor()!=null && event.getCursor().getType()!=Material.AIR) || (event.getCurrentItem()!=null && event.getCurrentItem().getType()!=Material.AIR)))) ) { boolean item_cube=false; - Bukkit.getLogger().info("Got to 1."); + //Bukkit.getLogger().info("Got to 1."); if (event.getClick()==ClickType.LEFT && (event.getCurrentItem().getType()==Material.CHEST || event.getCurrentItem().getType()==Material.TRAPPED_CHEST || event.getCurrentItem().getType()==Material.ENDER_CHEST)) { int identifier=-1; - Bukkit.getLogger().info("Got to 2."); + //Bukkit.getLogger().info("Got to 2."); if (event.getCurrentItem().getItemMeta().getLore()!=null) { //Check to see if the Lore contains anything. for (int i=0;i