Class Reference.Serializer

java.lang.Object
net.minecraft.loot.conditions.Reference.Serializer
All Implemented Interfaces:
ILootSerializer<Reference>
Enclosing class:
Reference

public static class Reference.Serializer extends Object implements ILootSerializer<Reference>
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • serialize

      public void serialize(com.google.gson.JsonObject p_230424_1_, Reference p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_)
      Specified by:
      serialize in interface ILootSerializer<Reference>
    • deserialize

      public Reference deserialize(com.google.gson.JsonObject p_230423_1_, com.google.gson.JsonDeserializationContext p_230423_2_)
      Specified by:
      deserialize in interface ILootSerializer<Reference>