Class FunctionNumberProvider.Serializer<NP extends FunctionNumberProvider>

java.lang.Object
com.petrolpark.data.loot.numberprovider.FunctionNumberProvider.Serializer<NP>
All Implemented Interfaces:
net.minecraft.world.level.storage.loot.Serializer<NP>
Enclosing class:
FunctionNumberProvider

public static class FunctionNumberProvider.Serializer<NP extends FunctionNumberProvider> extends Object implements net.minecraft.world.level.storage.loot.Serializer<NP>
  • Field Details

  • Constructor Details

  • Method Details

    • serialize

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

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