--- /dev/null
+package asia.tcrs.soft;
+
+import java.util.logging.Logger;
+
+import org.bukkit.Material;
+import org.bukkit.inventory.ItemStack;
+import org.bukkit.inventory.ShapedRecipe;
+import org.bukkit.inventory.ShapelessRecipe;
+import org.bukkit.plugin.PluginManager;
+import org.bukkit.plugin.java.JavaPlugin;
+
+public class Uncraft extends JavaPlugin {
+ public PluginManager pm;
+ Logger log =Logger.getLogger("Mincraft");
+
+ public void onDisable(){
+ log.info("Uncraft Bukkit off");
+
+ }
+
+ @Override
+ public void onEnable(){
+ int D = 0;
+ log.info("Uncraft Bukkit on");
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WOOD, 6)).addIngredient(Material.WOOD_DOOR, 1));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT, 6)).addIngredient(Material.IRON_DOOR));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.COBBLESTONE, 8)).addIngredient(Material.FURNACE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WOOD, 8)).addIngredient(Material.CHEST));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WOOD, 4)).addIngredient(Material.WORKBENCH));
+ ShapedRecipe LADDERR =new ShapedRecipe(new ItemStack(Material.STICK,7));
+ LADDERR.shape("X X"," ","X").setIngredient('X', Material.LADDER);
+ this.getServer().addRecipe(LADDERR);
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_NUGGET,8)).addIngredient(1, Material.GOLDEN_APPLE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WOOD,3)).addIngredient(1, Material.BED));
+ //トーチ逆変換(保留)
+ //ShapedRecipe torctR =new ShapedRecipe(new ItemStack(Material.COAL,1));
+ //torctR.shape("XX","XX").setIngredient('X', Material.TORCH);
+ //this.getServer().addRecipe(torctR);
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.STICK,8)).addIngredient(1, Material.PAINTING));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.CLAY_BALL,4)).addIngredient(1, Material.CLAY));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.SNOW_BALL,4)).addIngredient(1, Material.SNOW));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.CLAY_BRICK,4)).addIngredient(1, Material.BRICK));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.STONE,1)).addIngredient(1, Material.SMOOTH_BRICK));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.SAND,4)).addIngredient(1, Material.SANDSTONE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.REDSTONE,1)).addIngredient(1, Material.NOTE_BLOCK));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.DIAMOND,1)).addIngredient(1, Material.JUKEBOX));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.SULPHUR,5)).addIngredient(1, Material.TNT));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.PUMPKIN,1)).addIngredient(1, Material.JACK_O_LANTERN));
+ ShapedRecipe bowlR =new ShapedRecipe(new ItemStack(Material.WOOD,3));
+ bowlR.shape("XX","XX").setIngredient('X', Material.BOWL);
+ this.getServer().addRecipe(bowlR);
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GLOWSTONE_DUST,4)).addIngredient(1, Material.GLOWSTONE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.STRING,4)).addIngredient(1, Material.WOOL));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.STONE,2)).addIngredient(1, Material.STONE_BUTTON));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,3)).addIngredient(1, Material.BUCKET));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_INGOT,4)).addIngredient(1, Material.WATCH));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,4)).addIngredient(1, Material.COMPASS));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.STRING,2)).addIngredient(1, Material.FISHING_ROD,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.STRING,3)).addIngredient(1, Material.BOW,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_INGOT,1)).addIngredient(1, Material.POWERED_RAIL));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,1)).addIngredient(1, Material.DETECTOR_RAIL));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.BOW,1)).addIngredient(1, Material.DISPENSER));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,2)).addIngredient(1, Material.SHEARS,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.COMPASS,1)).addIngredient(1, Material.MAP));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,1)).addIngredient(1, Material.PISTON_BASE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.SLIME_BALL,1)).addIngredient(1, Material.PISTON_STICKY_BASE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WOOD,3)).addIngredient(1, Material.TRAP_DOOR));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WOOD,2)).addIngredient(1, Material.WOOD_PLATE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.STONE,2)).addIngredient(1, Material.STONE_PLATE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.REDSTONE,1)).addIngredient(1, Material.REDSTONE_TORCH_ON));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.STICK,1)).addIngredient(1, Material.LEVER));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WHEAT,3)).addIngredient(1, Material.CAKE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WHEAT,3)).addIngredient(1, Material.CAKE_BLOCK));
+ ShapedRecipe cookieR =new ShapedRecipe(new ItemStack(Material.WHEAT,1));
+ cookieR.shape("XX","XX").setIngredient('X', Material.COOKIE);
+ this.getServer().addRecipe(cookieR);
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.BOOK,3)).addIngredient(1, Material.BOOKSHELF));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.LEATHER,5)).addIngredient(1, Material.LEATHER_HELMET,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.LEATHER,8)).addIngredient(1, Material.LEATHER_CHESTPLATE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.LEATHER,7)).addIngredient(1, Material.LEATHER_LEGGINGS,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.LEATHER,4)).addIngredient(1, Material.LEATHER_BOOTS,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,5)).addIngredient(1, Material.IRON_HELMET,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,8)).addIngredient(1, Material.IRON_CHESTPLATE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,7)).addIngredient(1, Material.IRON_LEGGINGS,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,4)).addIngredient(1, Material.IRON_BOOTS,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_INGOT,5)).addIngredient(1, Material.GOLD_HELMET,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_INGOT,8)).addIngredient(1, Material.GOLD_CHESTPLATE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_INGOT,7)).addIngredient(1, Material.GOLD_LEGGINGS,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_INGOT,4)).addIngredient(1, Material.GOLD_BOOTS,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.DIAMOND,5)).addIngredient(1, Material.DIAMOND_HELMET,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.DIAMOND,8)).addIngredient(1, Material.DIAMOND_CHESTPLATE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.DIAMOND,7)).addIngredient(1, Material.DIAMOND_LEGGINGS,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.DIAMOND,4)).addIngredient(1, Material.DIAMOND_BOOTS,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.STICK,5)).addIngredient(1, Material.WOOD_SWORD,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WOOD,4)).addIngredient(1, Material.WOOD_PICKAXE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WOOD,2)).addIngredient(1, Material.WOOD_SPADE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WOOD,4)).addIngredient(1, Material.WOOD_AXE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WOOD,3)).addIngredient(1, Material.WOOD_HOE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.COBBLESTONE,2)).addIngredient(1, Material.STONE_SWORD,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.COBBLESTONE,3)).addIngredient(1, Material.STONE_PICKAXE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.COBBLESTONE,1)).addIngredient(1, Material.STONE_SPADE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.COBBLESTONE,3)).addIngredient(1, Material.STONE_AXE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.COBBLESTONE,2)).addIngredient(1, Material.STONE_HOE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,2)).addIngredient(1, Material.IRON_SWORD,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,3)).addIngredient(1, Material.IRON_PICKAXE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,1)).addIngredient(1, Material.IRON_SPADE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,3)).addIngredient(1, Material.IRON_AXE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,2)).addIngredient(1, Material.IRON_HOE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_INGOT,2)).addIngredient(1, Material.GOLD_SWORD,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_INGOT,3)).addIngredient(1, Material.GOLD_PICKAXE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_INGOT,1)).addIngredient(1, Material.GOLD_SPADE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_INGOT,3)).addIngredient(1, Material.GOLD_AXE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_INGOT,2)).addIngredient(1, Material.GOLD_HOE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.DIAMOND,2)).addIngredient(1, Material.DIAMOND_SWORD,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.DIAMOND,3)).addIngredient(1, Material.DIAMOND_PICKAXE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.DIAMOND,1)).addIngredient(1, Material.DIAMOND_SPADE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.DIAMOND,3)).addIngredient(1, Material.DIAMOND_AXE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.DIAMOND,2)).addIngredient(1, Material.DIAMOND_HOE,D));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.MELON,9)).addIngredient(1, Material.MELON_BLOCK));
+ ShapedRecipe railR =new ShapedRecipe(new ItemStack(Material.IRON_INGOT,3));
+ railR.shape("XXX","X X","XXX").setIngredient('X', Material.RAILS);
+ this.getServer().addRecipe(railR);
+ ShapedRecipe windowR =new ShapedRecipe(new ItemStack(Material.GLASS,3));
+ windowR.shape("XXX","X X","XXX").setIngredient('X', Material.THIN_GLASS);
+ this.getServer().addRecipe(windowR);
+ ShapedRecipe ironfensR =new ShapedRecipe(new ItemStack(Material.IRON_INGOT,3));
+ ironfensR.shape("XXX","X X","XXX").setIngredient('X', Material.IRON_FENCE);
+ this.getServer().addRecipe(ironfensR);
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WOOD,4)).addIngredient(1, Material.FENCE_GATE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.CHEST,1)).addIngredient(1, Material.STORAGE_MINECART));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.FURNACE,1)).addIngredient(1, Material.POWERED_MINECART));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.REDSTONE_TORCH_ON,1)).addIngredient(1, Material.DIODE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.MELON,1)).addIngredient(1, Material.MELON_SEEDS));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.BONE,1)).addIngredient(1, Material.INK_SACK,15)
+ .addIngredient(1, Material.INK_SACK,15).addIngredient(1, Material.INK_SACK,15));
+ //ShapedRecipe BONER =new ShapedRecipe(new ItemStack(Material.BONE,1));
+ //BONER.shape("XXX").setIngredient('X', Material.INK_SACK,15);
+ //this.getServer().addRecipe(BONER);
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.STONE,1)).addIngredient(1, Material.STEP,0));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.SANDSTONE,1)).addIngredient(1, Material.STEP,1));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.WOOD,1)).addIngredient(1, Material.STEP,2));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.COBBLESTONE,1)).addIngredient(1, Material.STEP,3));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.BRICK,1)).addIngredient(1, Material.STEP,4));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.SMOOTH_BRICK,1)).addIngredient(1, Material.STEP,5));
+ ShapedRecipe pumpkinSeedsR =new ShapedRecipe(new ItemStack(Material.PUMPKIN,1));
+ pumpkinSeedsR.shape("XX","XX").setIngredient('X', Material.PUMPKIN_SEEDS);
+ this.getServer().addRecipe(pumpkinSeedsR);
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.NETHER_BRICK,1)).addIngredient(1, Material.NETHER_FENCE));
+ ShapedRecipe stairsNetherBrickR =new ShapedRecipe(new ItemStack(Material.NETHER_BRICK,3));
+ stairsNetherBrickR.shape("XX").setIngredient('X', Material.NETHER_BRICK_STAIRS);
+ this.getServer().addRecipe(stairsNetherBrickR);
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.BLAZE_POWDER,1)).addIngredient(1, Material.MAGMA_CREAM));
+ ShapedRecipe blazeRodR =new ShapedRecipe(new ItemStack(Material.BLAZE_ROD,1));
+ blazeRodR.shape("XX").setIngredient('X', Material.BLAZE_POWDER);
+ this.getServer().addRecipe(blazeRodR);
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.SPIDER_EYE,1)).addIngredient(1, Material.FERMENTED_SPIDER_EYE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GOLD_NUGGET,1)).addIngredient(1, Material.SPECKLED_MELON));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GLASS_BOTTLE,1)).addIngredient(1, Material.GLASS_BOTTLE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.IRON_INGOT,7)).addIngredient(1, Material.CAULDRON));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.DIAMOND,2)).addIngredient(1, Material.ENCHANTMENT_TABLE));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.BLAZE_ROD,1)).addIngredient(1, Material.BREWING_STAND));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.BLAZE_POWDER,1)).addIngredient(1, Material.EYE_OF_ENDER));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.FLINT,1)).addIngredient(1, Material.GRAVEL));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.GRAVEL,1)).addIngredient(1, Material.FLINT));
+ ShapedRecipe arrowR =new ShapedRecipe(new ItemStack(Material.FLINT,1));
+ arrowR.shape("XX","XX").setIngredient('X', Material.ARROW);
+ this.getServer().addRecipe(arrowR);
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 14)).addIngredient(1, Material.WOOL,1));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 13)).addIngredient(1, Material.WOOL,2));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 12)).addIngredient(1, Material.WOOL,3));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 11)).addIngredient(1, Material.WOOL,4));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 10)).addIngredient(1, Material.WOOL,5));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 9)).addIngredient(1, Material.WOOL,6));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 8)).addIngredient(1, Material.WOOL,7));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 7)).addIngredient(1, Material.WOOL,8));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 6)).addIngredient(1, Material.WOOL,9));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 5)).addIngredient(1, Material.WOOL,10));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 4)).addIngredient(1, Material.WOOL,11));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 3)).addIngredient(1, Material.WOOL,12));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 2)).addIngredient(1, Material.WOOL,13));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 1)).addIngredient(1, Material.WOOL,14));
+ this.getServer().addRecipe(new ShapelessRecipe(new ItemStack(Material.INK_SACK,1, (short) 0)).addIngredient(1, Material.WOOL,15));
+ }
+}