Package net.minecraft.util
Interface JsonSerializer<T>
- All Known Implementing Classes:
AllOfLootCondition.Serializer
,AlternativeLootCondition.Serializer
,AnyOfLootCondition.Serializer
,ApplyBonusLootFunction.Serializer
,BinomialLootNumberProvider.Serializer
,BlockStatePropertyLootCondition.Serializer
,ConditionalLootFunction.Serializer
,ConstantLootNumberProvider.Serializer
,ContextLootNbtProvider.Serializer
,ContextLootScoreProvider.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
,FixedLootScoreProvider.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
,ReferenceLootFunction.Serializer
,ScoreLootNumberProvider.Serializer
,SetAttributesLootFunction.Serializer
,SetBannerPatternFunction.Serializer
,SetContentsLootFunction.Serializer
,SetCountLootFunction.Serializer
,SetDamageLootFunction.Serializer
,SetEnchantmentsLootFunction.Serializer
,SetInstrumentLootFunction.Serializer
,SetLootTableLootFunction.Serializer
,SetLoreLootFunction.Serializer
,SetNameLootFunction.Serializer
,SetNbtLootFunction.Serializer
,SetPotionLootFunction.Serializer
,SetStewEffectLootFunction.Serializer
,StorageLootNbtProvider.Serializer
,SurvivesExplosionLootCondition.Serializer
,TableBonusLootCondition.Serializer
,TagEntry.Serializer
,TimeCheckLootCondition.Serializer
,UniformLootNumberProvider.Serializer
,ValueCheckLootCondition.Serializer
,WeatherCheckLootCondition.Serializer
public interface JsonSerializer<T>
- Mappings:
Namespace Name official dzq
intermediary net/minecraft/class_5335
named net/minecraft/util/JsonSerializer
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject json, JsonDeserializationContext context) void
toJson
(JsonObject json, T object, JsonSerializationContext context)
-
Method Details
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Ldzq;a(Lcom/google/gson/JsonObject;Ljava/lang/Object;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_516
Lnet/minecraft/class_5335;method_516(Lcom/google/gson/JsonObject;Ljava/lang/Object;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/util/JsonSerializer;toJson(Lcom/google/gson/JsonObject;Ljava/lang/Object;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Ldzq;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ljava/lang/Object;
intermediary method_517
Lnet/minecraft/class_5335;method_517(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ljava/lang/Object;
named fromJson
Lnet/minecraft/util/JsonSerializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ljava/lang/Object;
-