Class OutOfTagIngredientRandomizer.Serializer
java.lang.Object
com.petrolpark.recipe.ingredient.randomizer.OutOfTagIngredientRandomizer.Serializer
- All Implemented Interfaces:
net.minecraft.world.level.storage.loot.Serializer<OutOfTagIngredientRandomizer>
- Enclosing class:
- OutOfTagIngredientRandomizer
public static class OutOfTagIngredientRandomizer.Serializer
extends Object
implements net.minecraft.world.level.storage.loot.Serializer<OutOfTagIngredientRandomizer>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext serializationContext) voidserialize(com.google.gson.JsonObject json, OutOfTagIngredientRandomizer value, com.google.gson.JsonSerializationContext serializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject json, OutOfTagIngredientRandomizer value, com.google.gson.JsonSerializationContext serializationContext) - Specified by:
serializein interfacenet.minecraft.world.level.storage.loot.Serializer<OutOfTagIngredientRandomizer>
-
deserialize
public OutOfTagIngredientRandomizer deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext serializationContext) - Specified by:
deserializein interfacenet.minecraft.world.level.storage.loot.Serializer<OutOfTagIngredientRandomizer>
-