the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 34 lines 652 B view raw
1//package net.minecraft.world.item.crafting; 2 3//import net.minecraft.world.item.*; 4//import net.minecraft.world.level.tile.Tile; 5#pragma once 6 7#define MAX_ARMOUR_RECIPES 5 8class ArmorRecipes 9{ 10public: 11 enum _eArmorType 12 { 13 eArmorType_None=0, 14 eArmorType_Helmet, 15 eArmorType_Chestplate, 16 eArmorType_Leggings, 17 eArmorType_Boots, 18 } 19 eArmorType; 20 21 // 4J - added for common ctor code 22 void _init(); 23 ArmorRecipes() {_init();} 24private: 25 // 4J-PB - this wasn't static in java, so might not be right 26 static wstring shapes[][4]; 27 28private: 29 vector <Object *> *map; 30 31public: 32 void addRecipes(Recipes *r); 33 static _eArmorType GetArmorType(int iId); 34};