@@ -33,7 +33,7 @@ public class MixinIngredient {
3333 * vanilla game.
3434 */
3535 @ Inject (method = "toNetwork" , at = @ At ("HEAD" ), cancellable = true )
36- private void toNetwork (FriendlyByteBuf buf , CallbackInfo ci ) {
36+ private void ingredientextensionapi_toNetwork (FriendlyByteBuf buf , CallbackInfo ci ) {
3737
3838 final Ingredient self = (Ingredient ) (Object ) this ;
3939
@@ -84,7 +84,7 @@ private void toNetwork(FriendlyByteBuf buf, CallbackInfo ci) {
8484 * vanilla game.
8585 */
8686 @ Inject (method = "fromNetwork" , at = @ At ("HEAD" ), cancellable = true )
87- private static void fromNetwork (FriendlyByteBuf friendlyByteBuf , CallbackInfoReturnable <Ingredient > cir ) {
87+ private static void ingredientextensionapi_fromNetwork (FriendlyByteBuf friendlyByteBuf , CallbackInfoReturnable <Ingredient > cir ) {
8888
8989 final int marker = friendlyByteBuf .readInt ();
9090
@@ -138,7 +138,7 @@ else if (marker != Constants.NETWORK_MARKER_VANILLA) {
138138 * true}.
139139 */
140140 @ Inject (method = "fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/world/item/crafting/Ingredient;" , at = @ At ("HEAD" ), cancellable = true )
141- private static void fromJson (JsonElement jsonElement , CallbackInfoReturnable <Ingredient > callback ) {
141+ private static void ingredientextensionapi_fromJson (JsonElement jsonElement , CallbackInfoReturnable <Ingredient > callback ) {
142142
143143 // Only process JSON objects with a type property.
144144 if (jsonElement instanceof JsonObject jsonObj && jsonObj .has ("type" )) {
0 commit comments