木匠制作各种木制品消耗的体力和获得的经验与等级的关系 by:yhzx
代码文本 (1-4:体力对应表 5-8:经验对应表)
craftStrength.put(Item.PLANK, new double[]{10, 3, 1.5, 0.5});
craftStrength.put(Item.CHEST, new double[]{100, 100, 20, 10}); craftStrength.put(Item.CRAFTING_TABLE, new double[]{20, 10, 4, 2}); craftStrength.put(Item.SIGN_POST, new double[]{10, 2, 1, 0.5}); craftStrength.put(Item.WOODEN_PRESSURE_PLATE, new double[]{100, 100, 20, 10}); craftStrength.put(Item.FENCE, new double[]{10, 2, 1, 0.5}); craftStrength.put(Item.TRAPDOOR, new double[]{100, 20, 10, 5}); craftStrength.put(Item.WOODEN_BUTTON, new double[]{100, 100, 20, 10}); craftStrength.put(Item.WOODEN_SLAB, new double[]{100, 10, 6, 3}); craftStrength.put(Item.WOODEN_SWORD, new double[]{100, 20, 10, 7.5});
//All Stairs craftStrength.put(Item.WOODEN_STAIRS, new double[]{100, 10, 6, 3}); craftStrength.put(Item.SPRUCE_WOOD_STAIRS, new double[]{100, 10, 6, 3}); craftStrength.put(Item.BIRCH_WOOD_STAIRS, new double[]{100, 10, 6, 3}); craftStrength.put(Item.JUNGLE_WOOD_STAIRS, new double[]{100, 10, 6, 3}); craftStrength.put(Item.ACACIA_WOOD_STAIRS, new double[]{100, 10, 6, 3}); craftStrength.put(Item.DARK_OAK_WOOD_STAIRS, new double[]{100, 10, 6, 3});
//All Fence Gates craftStrength.put(Item.FENCE_GATE, new double[]{20, 5, 2.5, 1.5}); craftStrength.put(Item.FENCE_GATE_SPRUCE, new double[]{20, 5, 2.5, 1.5}); craftStrength.put(Item.FENCE_GATE_BIRCH, new double[]{20, 5, 2.5, 1.5}); craftStrength.put(Item.FENCE_GATE_JUNGLE, new double[]{20, 5, 2.5, 1.5}); craftStrength.put(Item.FENCE_GATE_DARK_OAK, new double[]{20, 5, 2.5, 1.5}); craftStrength.put(Item.FENCE_GATE_ACACIA, new double[]{20, 5, 2.5, 1.5});
//All Doors craftStrength.put(Item.WOODEN_DOOR, new double[]{100, 100, 20, 10}); craftStrength.put(Item.SPRUCE_DOOR, new double[]{100, 100, 20, 10}); craftStrength.put(Item.BIRCH_DOOR, new double[]{100, 100, 20, 10}); craftStrength.put(Item.JUNGLE_DOOR, new double[]{100, 100, 20, 10}); craftStrength.put(Item.ACACIA_DOOR, new double[]{100, 100, 20, 10}); craftStrength.put(Item.DARK_OAK_DOOR, new double[]{100, 100, 20, 10});
craftExp.put(Item.PLANK, new int[]{20, 8, 4, 0}); craftExp.put(Item.CHEST, new int[]{100, 100, 30, 7}); craftExp.put(Item.CRAFTING_TABLE, new int[]{50, 15, 3, 0}); craftExp.put(Item.SIGN_POST, new int[]{30, 10, 2, 0}); craftExp.put(Item.WOODEN_PRESSURE_PLATE, new int[]{100, 100, 20, 8}); craftExp.put(Item.FENCE, new int[]{25, 10, 4, 2}); craftExp.put(Item.TRAPDOOR, new int[]{100, 35, 25, 10}); craftExp.put(Item.WOODEN_BUTTON, new int[]{100, 100, 18, 8}); craftExp.put(Item.WOODEN_SLAB, new int[]{100, 15, 4, 1}); craftExp.put(Item.WOODEN_SWORD, new int[]{100, 20, 15, 5});
//All Stairs craftExp.put(Item.WOODEN_STAIRS, new int[]{100, 20, 6, 2}); craftExp.put(Item.SPRUCE_WOOD_STAIRS, new int[]{100, 20, 6, 2}); craftExp.put(Item.BIRCH_WOOD_STAIRS, new int[]{100, 20, 6, 2}); craftExp.put(Item.JUNGLE_WOOD_STAIRS, new int[]{100, 20, 6, 2}); craftExp.put(Item.ACACIA_WOOD_STAIRS, new int[]{100, 20, 6, 2}); craftExp.put(Item.DARK_OAK_WOOD_STAIRS, new int[]{100, 20, 6, 2});
//All Fence Gates craftExp.put(Item.FENCE_GATE, new int[]{40, 15, 4, 2}); craftExp.put(Item.FENCE_GATE_SPRUCE, new int[]{40, 15, 4, 2}); craftExp.put(Item.FENCE_GATE_BIRCH, new int[]{40, 15, 4, 2}); craftExp.put(Item.FENCE_GATE_JUNGLE, new int[]{40, 15, 4, 2}); craftExp.put(Item.FENCE_GATE_DARK_OAK, new int[]{40, 15, 4, 2}); craftExp.put(Item.FENCE_GATE_ACACIA, new int[]{40, 15, 4, 2});
//All Doors craftExp.put(Item.WOODEN_DOOR, new int[]{100, 100, 30, 10}); craftExp.put(Item.SPRUCE_DOOR, new int[]{100, 100, 30, 10}); craftExp.put(Item.BIRCH_DOOR, new int[]{100, 100, 30, 10}); craftExp.put(Item.JUNGLE_DOOR, new int[]{100, 100, 30, 10}); craftExp.put(Item.ACACIA_DOOR, new int[]{100, 100, 30, 10}); craftExp.put(Item.DARK_OAK_DOOR, new int[]{100, 100, 30, 10});