Class GrantShopXPReward.Serializer

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

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

    • Serializer

      public Serializer()
  • Method Details

    • serialize

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

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