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 java.lang.Object implements IIngredientSerializer<NBTIngredient>
-
-
Field Summary
Fields Modifier and Type Field Description static NBTIngredient.Serializer
INSTANCE
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NBTIngredient
parse(com.google.gson.JsonObject json)
NBTIngredient
parse(PacketBuffer buffer)
void
write(PacketBuffer buffer, NBTIngredient ingredient)
-
-
-
Field Detail
-
INSTANCE
public static final NBTIngredient.Serializer INSTANCE
-
-
Method Detail
-
parse
public NBTIngredient parse(PacketBuffer buffer)
- Specified by:
parse
in interfaceIIngredientSerializer<NBTIngredient>
-
parse
public NBTIngredient parse(com.google.gson.JsonObject json)
- Specified by:
parse
in interfaceIIngredientSerializer<NBTIngredient>
-
write
public void write(PacketBuffer buffer, NBTIngredient ingredient)
- Specified by:
write
in interfaceIIngredientSerializer<NBTIngredient>
-
-