Class SetNbtFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<SetNbtFunction>
net.minecraft.world.level.storage.loot.functions.SetNbtFunction.Serializer
- All Implemented Interfaces:
Serializer<SetNbtFunction>
- Enclosing class:
- SetNbtFunction
public static class SetNbtFunction.Serializer
extends LootItemConditionalFunction.Serializer<SetNbtFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject p_81195_, com.google.gson.JsonDeserializationContext p_81196_, LootItemCondition[] p_81197_)
void
serialize(com.google.gson.JsonObject p_81203_, SetNbtFunction p_81204_, com.google.gson.JsonSerializationContext p_81205_)
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_81203_, SetNbtFunction p_81204_, com.google.gson.JsonSerializationContext p_81205_)- Specified by:
serialize
in interfaceSerializer<SetNbtFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<SetNbtFunction>
-
deserialize
public SetNbtFunction deserialize(com.google.gson.JsonObject p_81195_, com.google.gson.JsonDeserializationContext p_81196_, LootItemCondition[] p_81197_)- Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<SetNbtFunction>
-