Package net.minecraft.util
Interface JsonSerializer<T>
- All Known Implementing Classes:
AlternativeLootCondition.Serializer
,ApplyBonusLootFunction.Serializer
,BlockStatePropertyLootCondition.Serializer
,ConditionalLootFunction.Serializer
,CopyNameLootFunction.Serializer
,CopyNbtLootFunction.Serializer
,CopyStateFunction.Serializer
,DamageSourcePropertiesLootCondition.Serializer
,DynamicEntry.Serializer
,EmptyEntry.Serializer
,EnchantRandomlyLootFunction.Serializer
,EnchantWithLevelsLootFunction.Serializer
,EntityPropertiesLootCondition.Serializer
,EntityScoresLootCondition.Serializer
,ExplorationMapLootFunction.Serializer
,ExplosionDecayLootFunction.Serializer
,FillPlayerHeadLootFunction.Serializer
,FurnaceSmeltLootFunction.Serializer
,InvertedLootCondition.Serializer
,ItemEntry.Serializer
,KilledByPlayerLootCondition.Serializer
,LeafEntry.Serializer
,LimitCountLootFunction.Serializer
,LocationCheckLootCondition.Serializer
,LootingEnchantLootFunction.Serializer
,LootPoolEntry.Serializer
,LootTableEntry.Serializer
,MatchToolLootCondition.Serializer
,RandomChanceLootCondition.Serializer
,RandomChanceWithLootingLootCondition.Serializer
,ReferenceLootCondition.Serializer
,SetAttributesLootFunction.Serializer
,SetContentsLootFunction.Serializer
,SetCountLootFunction.Serializer
,SetDamageLootFunction.Serializer
,SetLootTableLootFunction.Serializer
,SetLoreLootFunction.Serializer
,SetNameLootFunction.Serializer
,SetNbtLootFunction.Serializer
,SetStewEffectLootFunction.Serializer
,SurvivesExplosionLootCondition.Serializer
,TableBonusLootCondition.Serializer
,TagEntry.Serializer
,TimeCheckLootCondition.Serializer
,WeatherCheckLootCondition.Serializer
public interface JsonSerializer<T>
-
Method Summary
Modifier and Type Method Description T
fromJson(JsonObject json, JsonDeserializationContext context)
void
toJson(JsonObject json, T object, JsonSerializationContext context)
-
Method Details
-
toJson
-
fromJson
-