From abfebcd490122feb8575c2befb178303c65ae952 Mon Sep 17 00:00:00 2001
From: UselessBullets <80850784+UselessBullets@users.noreply.github.com>
Date: Sun, 17 Dec 2023 06:13:51 -0600
Subject: [PATCH 1/2] moves the mixin for the recipe entrypoint to after the
 registry initilization

---
 .../java/turniplabs/halplibe/mixin/mixins/MinecraftMixin.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/turniplabs/halplibe/mixin/mixins/MinecraftMixin.java b/src/main/java/turniplabs/halplibe/mixin/mixins/MinecraftMixin.java
index d7cc722..bd988fc 100644
--- a/src/main/java/turniplabs/halplibe/mixin/mixins/MinecraftMixin.java
+++ b/src/main/java/turniplabs/halplibe/mixin/mixins/MinecraftMixin.java
@@ -16,7 +16,7 @@
 
 public class MinecraftMixin {
 
-    @Inject(method = "startGame", at = @At(value = "NEW",target = "()Lnet/minecraft/core/data/registry/Registries;",shift = At.Shift.AFTER))
+    @Inject(method = "startGame", at = @At(value = "INVOKE",target = "Lnet/minecraft/core/data/DataLoader;loadRecipes(Ljava/lang/String;)V",shift = At.Shift.BEFORE))
     public void recipeEntrypoint(CallbackInfo ci){
         FabricLoader.getInstance().getEntrypoints("recipesReady", RecipeEntrypoint.class).forEach(RecipeEntrypoint::onRecipesReady);
     }

From f4589977cf02a6a56d3a1a59acafe1ca45cea930 Mon Sep 17 00:00:00 2001
From: UselessBullets <80850784+UselessBullets@users.noreply.github.com>
Date: Sun, 17 Dec 2023 06:20:11 -0600
Subject: [PATCH 2/2] Update MinecraftMixin.java

---
 .../java/turniplabs/halplibe/mixin/mixins/MinecraftMixin.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/turniplabs/halplibe/mixin/mixins/MinecraftMixin.java b/src/main/java/turniplabs/halplibe/mixin/mixins/MinecraftMixin.java
index bd988fc..96a68b1 100644
--- a/src/main/java/turniplabs/halplibe/mixin/mixins/MinecraftMixin.java
+++ b/src/main/java/turniplabs/halplibe/mixin/mixins/MinecraftMixin.java
@@ -16,7 +16,7 @@
 
 public class MinecraftMixin {
 
-    @Inject(method = "startGame", at = @At(value = "INVOKE",target = "Lnet/minecraft/core/data/DataLoader;loadRecipes(Ljava/lang/String;)V",shift = At.Shift.BEFORE))
+    @Inject(method = "startGame", at = @At(value = "INVOKE",target = "Lnet/minecraft/core/data/DataLoader;loadRecipes(Ljava/lang/String;)V", ordinal = 3, shift = At.Shift.AFTER))
     public void recipeEntrypoint(CallbackInfo ci){
         FabricLoader.getInstance().getEntrypoints("recipesReady", RecipeEntrypoint.class).forEach(RecipeEntrypoint::onRecipesReady);
     }