Class ContextEntityNumberProvider.Serializer

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

public static class ContextEntityNumberProvider.Serializer extends Object implements net.minecraft.world.level.storage.loot.Serializer<ContextEntityNumberProvider>
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • serialize

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

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