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
(PacketBuffer buffer) void
write
(PacketBuffer 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>
-