Class SetAttributesFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<SetAttributesFunction>
net.minecraft.world.level.storage.loot.functions.SetAttributesFunction.Serializer
- All Implemented Interfaces:
Serializer<SetAttributesFunction>
- Enclosing class:
- SetAttributesFunction
public static class SetAttributesFunction.Serializer
extends LootItemConditionalFunction.Serializer<SetAttributesFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_80883_, com.google.gson.JsonDeserializationContext p_80884_, LootItemCondition[] p_80885_) void
serialize
(com.google.gson.JsonObject p_80891_, SetAttributesFunction p_80892_, com.google.gson.JsonSerializationContext p_80893_) 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_80891_, SetAttributesFunction p_80892_, com.google.gson.JsonSerializationContext p_80893_) - Specified by:
serialize
in interfaceSerializer<SetAttributesFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<SetAttributesFunction>
-
deserialize
public SetAttributesFunction deserialize(com.google.gson.JsonObject p_80883_, com.google.gson.JsonDeserializationContext p_80884_, LootItemCondition[] p_80885_) - Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<SetAttributesFunction>
-