crafting_test.txt 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # This file describes the crafting recipes that Minecase knows.
  2. # The syntax is as follows:
  3. # <Line> = <Recipe>#<Comment>
  4. # <Recipe> = <Result> = <Ingredient1> | <Ingredient2> | ... | <IngredientN>
  5. # <IngredientN> = <ItemID>, <X1> : <Y1>, <X2> : <Y2>, ..., <Xn> : <Yn>
  6. # <ItemID> = <ItemType> [^<DamageValue>]
  7. # <Xn>, <Yn> = "1" .. "3", or "*" for any value. "*:*" can be replaced by a single "*".
  8. # <Result> = <ItemType> [^<DamageValue>] [, <Count>]
  9. #
  10. # The Xn, Yn coordinates are a reference to the crafting grid:
  11. # 1:1 | 2:1 | 3:1
  12. # 1:2 | 2:2 | 3:2
  13. # 1:3 | 2:3 | 3:3
  14. #
  15. # <ItemType> can be either a number, or an item name (checked against items.ini)
  16. #
  17. # ^<DamageValue> is optional, if not present, the default damage for the given item is used
  18. #
  19. # If the DamageValue in the ingredients list is set to -1, the ingredient matches the specified item with any DamageValue.
  20. # This is used e. g. for "any planks -> sticks", or beds using any color wool etc.
  21. #
  22. # Ingredients with an asterisk for a coord will not match already matched crafting grid items. This enables simplifying some of the recipes,
  23. # e. g. hoe: "Iron, 2:1, *:1"
  24. # -- this means "one iron at 2:1, and another one at either 1:1 or 3:1"
  25. #
  26. # To require multiple items of the same type in a slot, specify the slot number several times:
  27. # "Iron, 1:1, 2:2, 2:2"
  28. # -- this means "take one iron from slot 1:1 and two irons from slot 2:2"
  29. # Note that asterisked items cannot require multiple items in a single slot.
  30. #
  31. # Note that due to technical problems, it is NOT advised to use asterisked ingredients in crossing directions, such as "*:1, "2:*".
  32. # The parser may be unable to match such a recipe to the crafting grid!
  33. #
  34. # Whitespace is optional. Use it reasonably. You CAN use any whitespaces (including tabs) in the middle of lines!
  35. #******************************************************#
  36. # Basic Crafts For Unit Test
  37. #
  38. # Need to list each of the four log types, otherwise all logs would get converted into apple planks (^0)
  39. WoodPlanks^Acacia, 4 = Wood2^Acacia, *
  40. WoodPlanks^Birch, 4 = Wood^Birch, *
  41. Chest = WoodPlanks^-1, 1:1, 1:2, 1:3, 2:1, 2:3, 3:1, 3:2, 3:3
  42. WoodPlanks^DarkOak, 4 = Wood2^DarkOak, *
  43. EnderChest = EyeofEnder, 2:2 | Obsidian, 1:1, 1:2, 1:3, 2:1, 2:3, 3:1, 3:2, 3:3
  44. Furnace = Cobblestone, 1:1, 1:2, 1:3, 2:1, 2:3, 3:1, 3:2, 3:3
  45. WoodPlanks^Jungle, 4 = Wood^Jungle, *
  46. WoodPlanks^Oak, 4 = Wood^Oak, *
  47. WoodPlanks^Spruce, 4 = Wood^Spruce, *
  48. Stick, 4 = WoodPlanks^-1, 2:2, 2:3
  49. Torch, 4 = Stick, 1:2 | Coal^-1, 1:1
  50. TrappedChest = TripwireHook, * | Chest, *
  51. CraftingTable = WoodPlanks^-1, 1:1, 1:2, 2:1, 2:2