Class SetNameFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<SetNameFunction>
net.minecraft.world.level.storage.loot.functions.SetNameFunction.Serializer
- All Implemented Interfaces:
Serializer<SetNameFunction>
- Enclosing class:
- SetNameFunction
public static class SetNameFunction.Serializer
extends LootItemConditionalFunction.Serializer<SetNameFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject p_81155_, com.google.gson.JsonDeserializationContext p_81156_, LootItemCondition[] p_81157_)
void
serialize(com.google.gson.JsonObject p_81163_, SetNameFunction p_81164_, com.google.gson.JsonSerializationContext p_81165_)
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_81163_, SetNameFunction p_81164_, com.google.gson.JsonSerializationContext p_81165_)- Specified by:
serialize
in interfaceSerializer<SetNameFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<SetNameFunction>
-
deserialize
public SetNameFunction deserialize(com.google.gson.JsonObject p_81155_, com.google.gson.JsonDeserializationContext p_81156_, LootItemCondition[] p_81157_)- Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<SetNameFunction>
-