aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/StructureRecipies.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/StructureRecipies.cpp')
-rw-r--r--Minecraft.World/StructureRecipies.cpp128
1 files changed, 128 insertions, 0 deletions
diff --git a/Minecraft.World/StructureRecipies.cpp b/Minecraft.World/StructureRecipies.cpp
new file mode 100644
index 00000000..f8ac558c
--- /dev/null
+++ b/Minecraft.World/StructureRecipies.cpp
@@ -0,0 +1,128 @@
+#include "stdafx.h"
+#include "net.minecraft.world.item.h"
+#include "net.minecraft.world.level.tile.h"
+#include "Recipy.h"
+#include "Recipes.h"
+#include "StructureRecipies.h"
+
+void StructureRecipies::addRecipes(Recipes *r)
+{
+ r->addShapedRecipy(new ItemInstance(Tile::sandStone), //
+ L"ssctg",
+ L"##", //
+ L"##", //
+
+ L'#', Tile::sand,
+ L'S');
+
+ r->addShapedRecipy(new ItemInstance(Tile::sandStone, 4, SandStoneTile::TYPE_SMOOTHSIDE), //
+ L"ssczg",
+ L"##", //
+ L"##", //
+
+ L'#', new ItemInstance(Tile::sandStone),
+ L'S');
+
+ r->addShapedRecipy(new ItemInstance(Tile::sandStone, 1, SandStoneTile::TYPE_HEIROGLYPHS), //
+ L"ssczg",
+ L"#", //
+ L"#", //
+
+ L'#', new ItemInstance(Tile::stoneSlabHalf, 1, StoneSlabTile::SAND_SLAB),
+ L'S');
+
+ r->addShapedRecipy(new ItemInstance(Tile::quartzBlock, 1, QuartzBlockTile::TYPE_CHISELED), //
+ L"ssczg",
+ L"#", //
+ L"#", //
+
+ L'#', new ItemInstance(Tile::stoneSlabHalf, 1, StoneSlabTile::QUARTZ_SLAB),
+ L'S');
+
+ r->addShapedRecipy(new ItemInstance(Tile::quartzBlock, 2, QuartzBlockTile::TYPE_LINES_Y), //
+ L"ssczg",
+ L"#", //
+ L"#", //
+
+ L'#', new ItemInstance(Tile::quartzBlock, 1, QuartzBlockTile::TYPE_DEFAULT),
+ L'S');
+
+ // 4J Stu - Changed the order, as the blocks that go with sandstone cause a 3-icon scroll
+ // that touches the text "Structures" in the title in 720 fullscreen.
+ r->addShapedRecipy(new ItemInstance(Tile::workBench), //
+ L"ssctg",
+ L"##", //
+ L"##", //
+
+ L'#', Tile::wood,
+ L'S');
+
+ r->addShapedRecipy(new ItemInstance(Tile::furnace), //
+ L"sssctg",
+ L"###", //
+ L"# #", //
+ L"###", //
+
+ L'#', Tile::stoneBrick,
+ L'S');
+
+ r->addShapedRecipy(new ItemInstance((Tile*)Tile::chest), //
+ L"sssctg",
+ L"###", //
+ L"# #", //
+ L"###", //
+
+ L'#', Tile::wood,
+ L'S');
+
+ r->addShapedRecipy(new ItemInstance(Tile::enderChest), //
+ L"sssctcig",
+ L"###", //
+ L"#E#", //
+ L"###", //
+
+ L'#', Tile::obsidian, L'E', Item::eyeOfEnder,
+ L'S');
+
+ r->addShapedRecipy(new ItemInstance(Tile::stoneBrickSmooth, 4), //
+ L"ssctg",
+ L"##", //
+ L"##", //
+
+ L'#', Tile::rock,
+ L'S');
+
+ // 4J Stu - Move this into "Recipes" to change the order things are displayed on the crafting menu
+ //r->addShapedRecipy(new ItemInstance(Tile::ironFence, 16), //
+ // L"sscig",
+ // L"###", //
+ // L"###", //
+
+ // L'#', Item::ironIngot,
+ // L'S');
+
+ r->addShapedRecipy(new ItemInstance(Tile::thinGlass, 16), //
+ L"ssctg",
+ L"###", //
+ L"###", //
+
+ L'#', Tile::glass,
+ L'D');
+
+ r->addShapedRecipy(new ItemInstance(Tile::netherBrick, 1), //
+ L"sscig",
+ L"NN", //
+ L"NN", //
+
+ L'N', Item::netherbrick,
+ L'S');
+
+ r->addShapedRecipy(new ItemInstance(Tile::redstoneLight, 1), //
+ L"ssscictg",
+ L" R ", //
+ L"RGR", //
+ L" R ", //
+ L'R', Item::redStone, 'G', Tile::lightGem,
+ L'M');
+
+} \ No newline at end of file