@@ -33,7 +33,7 @@ public class MixinIngredient {
33
33
* vanilla game.
34
34
*/
35
35
@ 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 ) {
37
37
38
38
final Ingredient self = (Ingredient ) (Object ) this ;
39
39
@@ -84,7 +84,7 @@ private void toNetwork(FriendlyByteBuf buf, CallbackInfo ci) {
84
84
* vanilla game.
85
85
*/
86
86
@ 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 ) {
88
88
89
89
final int marker = friendlyByteBuf .readInt ();
90
90
@@ -138,7 +138,7 @@ else if (marker != Constants.NETWORK_MARKER_VANILLA) {
138
138
* true}.
139
139
*/
140
140
@ 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 ) {
142
142
143
143
// Only process JSON objects with a type property.
144
144
if (jsonElement instanceof JsonObject jsonObj && jsonObj .has ("type" )) {
0 commit comments