|
|
@@ -0,0 +1,58 @@
|
|
|
+# This file describes the crafting recipes that Minecase knows.
|
|
|
+# The syntax is as follows:
|
|
|
+# <Line> = <Recipe>#<Comment>
|
|
|
+# <Recipe> = <Result> = <Ingredient1> | <Ingredient2> | ... | <IngredientN>
|
|
|
+# <IngredientN> = <ItemID>, <X1> : <Y1>, <X2> : <Y2>, ..., <Xn> : <Yn>
|
|
|
+# <ItemID> = <ItemType> [^<DamageValue>]
|
|
|
+# <Xn>, <Yn> = "1" .. "3", or "*" for any value. "*:*" can be replaced by a single "*".
|
|
|
+# <Result> = <ItemType> [^<DamageValue>] [, <Count>]
|
|
|
+#
|
|
|
+# The Xn, Yn coordinates are a reference to the crafting grid:
|
|
|
+# 1:1 | 2:1 | 3:1
|
|
|
+# 1:2 | 2:2 | 3:2
|
|
|
+# 1:3 | 2:3 | 3:3
|
|
|
+#
|
|
|
+# <ItemType> can be either a number, or an item name (checked against items.ini)
|
|
|
+#
|
|
|
+# ^<DamageValue> is optional, if not present, the default damage for the given item is used
|
|
|
+#
|
|
|
+# If the DamageValue in the ingredients list is set to -1, the ingredient matches the specified item with any DamageValue.
|
|
|
+# This is used e. g. for "any planks -> sticks", or beds using any color wool etc.
|
|
|
+#
|
|
|
+# Ingredients with an asterisk for a coord will not match already matched crafting grid items. This enables simplifying some of the recipes,
|
|
|
+# e. g. hoe: "Iron, 2:1, *:1"
|
|
|
+# -- this means "one iron at 2:1, and another one at either 1:1 or 3:1"
|
|
|
+#
|
|
|
+# To require multiple items of the same type in a slot, specify the slot number several times:
|
|
|
+# "Iron, 1:1, 2:2, 2:2"
|
|
|
+# -- this means "take one iron from slot 1:1 and two irons from slot 2:2"
|
|
|
+# Note that asterisked items cannot require multiple items in a single slot.
|
|
|
+#
|
|
|
+# Note that due to technical problems, it is NOT advised to use asterisked ingredients in crossing directions, such as "*:1, "2:*".
|
|
|
+# The parser may be unable to match such a recipe to the crafting grid!
|
|
|
+#
|
|
|
+# Whitespace is optional. Use it reasonably. You CAN use any whitespaces (including tabs) in the middle of lines!
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+#******************************************************#
|
|
|
+# Basic Crafts For Unit Test
|
|
|
+#
|
|
|
+
|
|
|
+# Need to list each of the four log types, otherwise all logs would get converted into apple planks (^0)
|
|
|
+
|
|
|
+WoodPlanks^Acacia, 4 = Wood2^Acacia, *
|
|
|
+WoodPlanks^Birch, 4 = Wood^Birch, *
|
|
|
+Chest = WoodPlanks^-1, 1:1, 1:2, 1:3, 2:1, 2:3, 3:1, 3:2, 3:3
|
|
|
+WoodPlanks^DarkOak, 4 = Wood2^DarkOak, *
|
|
|
+EnderChest = EyeofEnder, 2:2 | Obsidian, 1:1, 1:2, 1:3, 2:1, 2:3, 3:1, 3:2, 3:3
|
|
|
+Furnace = Cobblestone, 1:1, 1:2, 1:3, 2:1, 2:3, 3:1, 3:2, 3:3
|
|
|
+WoodPlanks^Jungle, 4 = Wood^Jungle, *
|
|
|
+WoodPlanks^Oak, 4 = Wood^Oak, *
|
|
|
+WoodPlanks^Spruce, 4 = Wood^Spruce, *
|
|
|
+Stick, 4 = WoodPlanks^-1, 2:2, 2:3
|
|
|
+Torch, 4 = Stick, 1:2 | Coal^-1, 1:1
|
|
|
+TrappedChest = TripwireHook, * | Chest, *
|
|
|
+CraftingTable = WoodPlanks^-1, 1:1, 1:2, 2:1, 2:2
|