Skip to content

Commit

Permalink
Update MinecraftMixin.java
Browse files Browse the repository at this point in the history
  • Loading branch information
UselessBullets committed Dec 17, 2023
1 parent abfebcd commit f458997
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f458997

Please sign in to comment.