aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ArmorRecipes.h
diff options
context:
space:
mode:
authordaoge_cmd <3523206925@qq.com>2026-03-01 12:16:08 +0800
committerdaoge_cmd <3523206925@qq.com>2026-03-01 12:16:08 +0800
commitb691c43c44ff180d10e7d4a9afc83b98551ff586 (patch)
tree3e9849222cbc6ba49f2f1fc6e5fe7179632c7390 /Minecraft.World/ArmorRecipes.h
parentdef8cb415354ac390b7e89052a50605285f1aca9 (diff)
Initial commit
Diffstat (limited to 'Minecraft.World/ArmorRecipes.h')
-rw-r--r--Minecraft.World/ArmorRecipes.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/Minecraft.World/ArmorRecipes.h b/Minecraft.World/ArmorRecipes.h
new file mode 100644
index 00000000..b6a69372
--- /dev/null
+++ b/Minecraft.World/ArmorRecipes.h
@@ -0,0 +1,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);
+};