Class IntClamper.Serializer

java.lang.Object
net.minecraft.loot.IntClamper.Serializer
All Implemented Interfaces:
com.google.gson.JsonDeserializer<IntClamper>, com.google.gson.JsonSerializer<IntClamper>
Enclosing class:
IntClamper

public static class IntClamper.Serializer extends Object implements com.google.gson.JsonDeserializer<IntClamper>, com.google.gson.JsonSerializer<IntClamper>
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • deserialize

      public IntClamper deserialize(com.google.gson.JsonElement p_deserialize_1_, Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<IntClamper>
      Throws:
      com.google.gson.JsonParseException
    • serialize

      public com.google.gson.JsonElement serialize(IntClamper p_serialize_1_, Type p_serialize_2_, com.google.gson.JsonSerializationContext p_serialize_3_)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<IntClamper>