Class SetPotionFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<SetPotionFunction>
net.minecraft.world.level.storage.loot.functions.SetPotionFunction.Serializer
- All Implemented Interfaces:
Serializer<SetPotionFunction>
- Enclosing class:
- SetPotionFunction
public static class SetPotionFunction.Serializer
extends LootItemConditionalFunction.Serializer<SetPotionFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_193082_, com.google.gson.JsonDeserializationContext p_193083_, LootItemCondition[] p_193084_) void
serialize
(com.google.gson.JsonObject p_193090_, SetPotionFunction p_193091_, com.google.gson.JsonSerializationContext p_193092_) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer
deserialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_193090_, SetPotionFunction p_193091_, com.google.gson.JsonSerializationContext p_193092_) - Specified by:
serialize
in interfaceSerializer<SetPotionFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<SetPotionFunction>
-
deserialize
public SetPotionFunction deserialize(com.google.gson.JsonObject p_193082_, com.google.gson.JsonDeserializationContext p_193083_, LootItemCondition[] p_193084_) - Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<SetPotionFunction>
-