Package net.minecraft.loot.function
Class ConditionalLootFunction.Serializer<T extends ConditionalLootFunction>
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<T>
- All Implemented Interfaces:
JsonSerializer<T>
- Direct Known Subclasses:
ApplyBonusLootFunction.Serializer
,CopyNameLootFunction.Serializer
,CopyNbtLootFunction.Serializer
,CopyStateFunction.Serializer
,EnchantRandomlyLootFunction.Serializer
,EnchantWithLevelsLootFunction.Serializer
,ExplorationMapLootFunction.Serializer
,ExplosionDecayLootFunction.Serializer
,FillPlayerHeadLootFunction.Serializer
,FurnaceSmeltLootFunction.Serializer
,LimitCountLootFunction.Serializer
,LootingEnchantLootFunction.Serializer
,ReferenceLootFunction.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
- Enclosing class:
ConditionalLootFunction
public abstract static class ConditionalLootFunction.Serializer<T extends ConditionalLootFunction>
extends Object
implements JsonSerializer<T>
- Mappings:
Namespace Name official eay$c
intermediary net/minecraft/class_120$class_123
named net/minecraft/loot/function/ConditionalLootFunction$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal T
fromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) abstract T
fromJson
(JsonObject json, JsonDeserializationContext context, LootCondition[] conditions) void
toJson
(JsonObject jsonObject, T t, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
- Specified by:
toJson
in interfaceJsonSerializer<T extends ConditionalLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Leay$c;a(Lcom/google/gson/JsonObject;Leay;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_529
Lnet/minecraft/class_120$class_123;method_529(Lcom/google/gson/JsonObject;Lnet/minecraft/class_120;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/function/ConditionalLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/ConditionalLootFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public final T fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) - Specified by:
fromJson
in interfaceJsonSerializer<T extends ConditionalLootFunction>
- Mappings:
Namespace Name Mixin selector official b
Leay$c;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Leay;
intermediary method_528
Lnet/minecraft/class_120$class_123;method_528(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_120;
named fromJson
Lnet/minecraft/loot/function/ConditionalLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/function/ConditionalLootFunction;
-
fromJson
public abstract T fromJson(JsonObject json, JsonDeserializationContext context, LootCondition[] conditions) - Mappings:
Namespace Name Mixin selector official b
Leay$c;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Leck;)Leay;
intermediary method_530
Lnet/minecraft/class_120$class_123;method_530(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_120;
named fromJson
Lnet/minecraft/loot/function/ConditionalLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/ConditionalLootFunction;
-