Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
3.1 kB · 143 lines
C++
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143#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::cobblestone, L'S');
r->addShapedRecipy(new ItemInstance((Tile*)Tile::chest), // L"sssctg", L"###", // L"# #", // L"###", //
L'#', Tile::wood, L'S');
r->addShapedRecipy(new ItemInstance(Tile::chest_trap), // L"sctctg", L"#-", //
L'#', Tile::chest, L'-', Tile::tripWireSource, 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::stoneBrick, 4), // L"ssctg", L"##", // L"##", //
L'#', Tile::stone, 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::glowstone, L'M');
r->addShapedRecipy(new ItemInstance(Tile::beacon, 1), // L"sssctcictg", L"GGG", // L"GSG", // L"OOO", //
L'G', Tile::glass, L'S', Item::netherStar, L'O', Tile::obsidian, L'M');}