aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/FoodRecipies.cpp
blob: 1497cd412b9ffdf120b457560db94dd8dd4e4fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
#include "stdafx.h"
#include "net.minecraft.world.item.h"
#include "DyePowderItem.h"
#include "Tile.h"
#include "Recipy.h"
#include "Recipes.h"
#include "FoodRecipies.h"

void FoodRecipies::addRecipes(Recipes *r) 
{
	// 4J-JEV: Bumped up in the list to avoid a colision with the title.
	r->addShapedRecipy(new ItemInstance(Item::apple_gold, 1, 0), //
		L"ssscicig",
		L"###", //
		L"#X#", //
		L"###", //
		L'#', Item::goldNugget, L'X', Item::apple,
		L'F');
	
	// 4J-PB - Moving the mushroom stew shaped->shapeless forward from 1.9, so it will not need the crafting table
	r->addShapelessRecipy(new ItemInstance(Item::mushroomStew), 
		L"ttig", 
		Tile::mushroom1, Tile::mushroom2, Item::bowl,
		L'F');

	/*r->addShapedRecipy(new ItemInstance(Item::mushroomStew), //
				L"sssctctcig",
                L"Y", //
                L"X", //
                L"#", //

                L'X', Tile::mushroom1,
                L'Y', Tile::mushroom2,
                L'#', Item::bowl,
				L'F');*/

	// 4J-PB - removing for the xbox game - we already have it above
// 	r->addShapedRecipy(new ItemInstance(Item::mushroomStew), //
// 				L"sssctctcig",
//                 L"Y", //
//                 L"X", //
//                 L"#", //
// 
//                 L'X', Tile::mushroom2,
//                 L'Y', Tile::mushroom1,
//                 L'#', Item::bowl,
// 				L'F');
//         
	r->addShapedRecipy(new ItemInstance(Item::cookie, 8), //
				L"sczcig",
                L"#X#", //

                L'X', new ItemInstance(Item::dye_powder, 1, DyePowderItem::BROWN),
				L'#', Item::wheat,
				L'F');

	r->addShapedRecipy(new ItemInstance(Tile::melon), //
		L"ssscig",
		L"MMM", //
		L"MMM", //
		L"MMM", //

		L'M', Item::melon,
		L'F');

	r->addShapedRecipy(new ItemInstance(Item::seeds_melon), //
		L"scig",
		L"M", //

		L'M', Item::melon,
		L'F');

	r->addShapedRecipy(new ItemInstance(Item::seeds_pumpkin, 4), //
		L"sctg",
		L"M", //

		L'M', Tile::pumpkin,
		L'F');

	r->addShapelessRecipy(new ItemInstance(Item::pumpkinPie), //
		L"tiig",
		Tile::pumpkin, Item::sugar, Item::egg,
		L'F');

	r->addShapedRecipy(new ItemInstance(Item::apple_gold, 1, 1), //
		L"sssctcig",
		L"###", //
		L"#X#", //
		L"###", //
		L'#', Tile::goldBlock, L'X', Item::apple,
		L'F');

	r->addShapedRecipy(new ItemInstance(Item::carrotGolden, 1, 0), //
		L"ssscicig",
		L"###", //
		L"#X#", //
		L"###", //

		L'#', Item::goldNugget, L'X', Item::carrots,
		L'F');

	r->addShapelessRecipy(new ItemInstance(Item::fermentedSpiderEye), //
		L"itig",
		Item::spiderEye, Tile::mushroom1, Item::sugar,
		L'F');

	r->addShapelessRecipy(new ItemInstance(Item::speckledMelon), //
		L"iig",
		Item::melon, Item::goldNugget,
		L'F');

	r->addShapelessRecipy(new ItemInstance(Item::blazePowder, 2), //
		L"ig",
		Item::blazeRod,
		L'F');

	r->addShapelessRecipy(new ItemInstance(Item::magmaCream), //
		L"iig",
		Item::blazePowder, Item::slimeBall,
		L'F');
}