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