Package net.minecraft.loot.function
Class SetPotionLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<SetPotionLootFunction>
net.minecraft.loot.function.SetPotionLootFunction.Serializer
- All Implemented Interfaces:
JsonSerializer<SetPotionLootFunction>
- Enclosing class:
SetPotionLootFunction
public static class SetPotionLootFunction.Serializer
extends ConditionalLootFunction.Serializer<SetPotionLootFunction>
- Mappings:
Namespace Name official dud$a
intermediary net/minecraft/class_6662$class_6663
named net/minecraft/loot/function/SetPotionLootFunction$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) void
toJson
(JsonObject jsonObject, SetPotionLootFunction setPotionLootFunction, JsonSerializationContext jsonSerializationContext) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Serializer
fromJson
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, SetPotionLootFunction setPotionLootFunction, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<SetPotionLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<SetPotionLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldud$a;a(Lcom/google/gson/JsonObject;Ldud;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_38930
Lnet/minecraft/class_6662$class_6663;method_38930(Lcom/google/gson/JsonObject;Lnet/minecraft/class_6662;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/function/SetPotionLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetPotionLootFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public SetPotionLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
fromJson
in classConditionalLootFunction.Serializer<SetPotionLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldud$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldux;)Ldud;
intermediary method_38929
Lnet/minecraft/class_6662$class_6663;method_38929(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_6662;
named fromJson
Lnet/minecraft/loot/function/SetPotionLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetPotionLootFunction;
-