Class SetLoreFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<SetLoreFunction>
net.minecraft.world.level.storage.loot.functions.SetLoreFunction.Serializer
- All Implemented Interfaces:
Serializer<SetLoreFunction>
- Enclosing class:
- SetLoreFunction
public static class SetLoreFunction.Serializer
extends LootItemConditionalFunction.Serializer<SetLoreFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_81103_, com.google.gson.JsonDeserializationContext p_81104_, LootItemCondition[] p_81105_) void
serialize
(com.google.gson.JsonObject p_81111_, SetLoreFunction p_81112_, com.google.gson.JsonSerializationContext p_81113_) 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_81111_, SetLoreFunction p_81112_, com.google.gson.JsonSerializationContext p_81113_) - Specified by:
serialize
in interfaceSerializer<SetLoreFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<SetLoreFunction>
-
deserialize
public SetLoreFunction deserialize(com.google.gson.JsonObject p_81103_, com.google.gson.JsonDeserializationContext p_81104_, LootItemCondition[] p_81105_) - Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<SetLoreFunction>
-