Class StrictNBTIngredient.Serializer
java.lang.Object
net.minecraftforge.common.crafting.StrictNBTIngredient.Serializer
- All Implemented Interfaces:
IIngredientSerializer<StrictNBTIngredient>
- Enclosing class:
- StrictNBTIngredient
public static class StrictNBTIngredient.Serializer
extends Object
implements IIngredientSerializer<StrictNBTIngredient>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparse
(com.google.gson.JsonObject json) parse
(FriendlyByteBuf buffer) void
write
(FriendlyByteBuf buffer, StrictNBTIngredient ingredient)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
parse
- Specified by:
parse
in interfaceIIngredientSerializer<StrictNBTIngredient>
-
parse
- Specified by:
parse
in interfaceIIngredientSerializer<StrictNBTIngredient>
-
write
- Specified by:
write
in interfaceIIngredientSerializer<StrictNBTIngredient>
-