blob: b6a693727e109746dc0fd238838bc9634136d912 (
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
|
//package net.minecraft.world.item.crafting;
//import net.minecraft.world.item.*;
//import net.minecraft.world.level.tile.Tile;
#pragma once
#define MAX_ARMOUR_RECIPES 5
class ArmorRecipes
{
public:
enum _eArmorType
{
eArmorType_None=0,
eArmorType_Helmet,
eArmorType_Chestplate,
eArmorType_Leggings,
eArmorType_Boots,
}
eArmorType;
// 4J - added for common ctor code
void _init();
ArmorRecipes() {_init();}
private:
// 4J-PB - this wasn't static in java, so might not be right
static wstring shapes[][4];
private:
vector <Object *> *map;
public:
void addRecipes(Recipes *r);
static _eArmorType GetArmorType(int iId);
};
|