Interface Serializer<T>

All Known Implementing Classes:
AlternativeLootItemCondition.Serializer, ApplyBonusCount.Serializer, ApplyExplosionDecay.Serializer, BinomialDistributionGenerator.Serializer, BonusLevelTableCondition.Serializer, CanToolPerformAction.Serializer, ConditionReference.Serializer, ConstantValue.Serializer, ContextNbtProvider.Serializer, ContextScoreboardNameProvider.Serializer, CopyBlockState.Serializer, CopyNameFunction.Serializer, CopyNbtFunction.Serializer, DamageSourceCondition.Serializer, DynamicLoot.Serializer, EmptyLootItem.Serializer, EnchantRandomlyFunction.Serializer, EnchantWithLevelsFunction.Serializer, EntityHasScoreCondition.Serializer, ExplorationMapFunction.Serializer, ExplosionCondition.Serializer, FillPlayerHead.Serializer, FixedScoreboardNameProvider.Serializer, InvertedLootItemCondition.Serializer, LimitCount.Serializer, LocationCheck.Serializer, LootingEnchantFunction.Serializer, LootItem.Serializer, LootItemBlockStatePropertyCondition.Serializer, LootItemConditionalFunction.Serializer, LootItemEntityPropertyCondition.Serializer, LootItemKilledByPlayerCondition.Serializer, LootItemRandomChanceCondition.Serializer, LootItemRandomChanceWithLootingCondition.Serializer, LootPoolEntryContainer.Serializer, LootPoolSingletonContainer.Serializer, LootTableIdCondition.Serializer, LootTableReference.Serializer, MatchTool.Serializer, ScoreboardValue.Serializer, SetAttributesFunction.Serializer, SetBannerPatternFunction.Serializer, SetContainerContents.Serializer, SetContainerLootTable.Serializer, SetEnchantmentsFunction.Serializer, SetInstrumentFunction.Serializer, SetItemCountFunction.Serializer, SetItemDamageFunction.Serializer, SetLoreFunction.Serializer, SetNameFunction.Serializer, SetNbtFunction.Serializer, SetPotionFunction.Serializer, SetStewEffectFunction.Serializer, SmeltItemFunction.Serializer, StorageNbtProvider.Serializer, TagEntry.Serializer, TimeCheck.Serializer, UniformGenerator.Serializer, ValueCheckCondition.Serializer, WeatherCheck.Serializer

public interface Serializer<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(com.google.gson.JsonObject p_79323_, com.google.gson.JsonDeserializationContext p_79324_)
     
    void
    serialize(com.google.gson.JsonObject p_79325_, T p_79326_, com.google.gson.JsonSerializationContext p_79327_)
     
  • Method Details

    • serialize

      void serialize(com.google.gson.JsonObject p_79325_, T p_79326_, com.google.gson.JsonSerializationContext p_79327_)
    • deserialize

      T deserialize(com.google.gson.JsonObject p_79323_, com.google.gson.JsonDeserializationContext p_79324_)