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