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 Details

    • Serializer

      public Serializer()
  • Method Details

    • serialize

      public void serialize(com.google.gson.JsonObject json, OutOfTagIngredientRandomizer value, com.google.gson.JsonSerializationContext serializationContext)
      Specified by:
      serialize in interface net.minecraft.world.level.storage.loot.Serializer<OutOfTagIngredientRandomizer>
    • deserialize

      public OutOfTagIngredientRandomizer deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext serializationContext)
      Specified by:
      deserialize in interface net.minecraft.world.level.storage.loot.Serializer<OutOfTagIngredientRandomizer>