Skip to content

Commit

Permalink
fix: update api
Browse files Browse the repository at this point in the history
  • Loading branch information
rootEnginear committed Apr 16, 2024
1 parent 211a7d1 commit 637175f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ public class ChainmailRecipes implements RecipeEntrypoint {
public void onRecipesReady() {
CHAINMAILMOD.register("workbench", WORKBENCH);
Registries.RECIPES.register("chainmail", this.CHAINMAILMOD);
DataLoader.loadRecipes("/assets/craftablechainmailarmor/recipe/workbench.json");
DataLoader.loadRecipesFromFile("/assets/craftablechainmailarmor/recipe/workbench.json");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
{
"symbol": "X",
"stack": {
"id": 16503,
"key": "item.chainlink",
"amount": 1,
"meta": 0
}
}
],
"result": {
"id": 16430,
"key": "item.armor.helmet.chainmail",
"amount": 1,
"meta": 217
},
Expand All @@ -35,14 +35,14 @@
{
"symbol": "X",
"stack": {
"id": 16503,
"key": "item.chainlink",
"amount": 1,
"meta": 0
}
}
],
"result": {
"id": 16431,
"key": "item.armor.chestplate.chainmail",
"amount": 1,
"meta": 239
},
Expand All @@ -60,14 +60,14 @@
{
"symbol": "X",
"stack": {
"id": 16503,
"key": "item.chainlink",
"amount": 1,
"meta": 0
}
}
],
"result": {
"id": 16432,
"key": "item.armor.leggings.chainmail",
"amount": 1,
"meta": 231
},
Expand All @@ -84,14 +84,14 @@
{
"symbol": "X",
"stack": {
"id": 16503,
"key": "item.chainlink",
"amount": 1,
"meta": 0
}
}
],
"result": {
"id": 16433,
"key": "item.armor.boots.chainmail",
"amount": 1,
"meta": 224
},
Expand Down
6 changes: 0 additions & 6 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
"main": [
"rootenginear.craftablechainmailarmor.CraftableChainmailArmor"
],
"beforeGameStart": [
"rootenginear.craftablechainmailarmor.CraftableChainmailArmor"
],
"afterGameStart": [
"rootenginear.craftablechainmailarmor.CraftableChainmailArmor"
],
"recipesReady": [
"rootenginear.craftablechainmailarmor.recipe.ChainmailRecipes"
]
Expand Down

0 comments on commit 637175f

Please sign in to comment.