Class SetStewEffectFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<SetStewEffectFunction>
net.minecraft.world.level.storage.loot.functions.SetStewEffectFunction.Serializer
- All Implemented Interfaces:
Serializer<SetStewEffectFunction>
- Enclosing class:
- SetStewEffectFunction
public static class SetStewEffectFunction.Serializer
extends LootItemConditionalFunction.Serializer<SetStewEffectFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_81239_, com.google.gson.JsonDeserializationContext p_81240_, LootItemCondition[] p_81241_) void
serialize
(com.google.gson.JsonObject p_81247_, SetStewEffectFunction p_81248_, com.google.gson.JsonSerializationContext p_81249_) 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_81247_, SetStewEffectFunction p_81248_, com.google.gson.JsonSerializationContext p_81249_) - Specified by:
serialize
in interfaceSerializer<SetStewEffectFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<SetStewEffectFunction>
-
deserialize
public SetStewEffectFunction deserialize(com.google.gson.JsonObject p_81239_, com.google.gson.JsonDeserializationContext p_81240_, LootItemCondition[] p_81241_) - Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<SetStewEffectFunction>
-