Class SetItemCountFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<SetItemCountFunction>
net.minecraft.world.level.storage.loot.functions.SetItemCountFunction.Serializer
- All Implemented Interfaces:
Serializer<SetItemCountFunction>
- Enclosing class:
- SetItemCountFunction
public static class SetItemCountFunction.Serializer
extends LootItemConditionalFunction.Serializer<SetItemCountFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject p_81018_, com.google.gson.JsonDeserializationContext p_81019_, LootItemCondition[] p_81020_)
void
serialize(com.google.gson.JsonObject p_81026_, SetItemCountFunction p_81027_, com.google.gson.JsonSerializationContext p_81028_)
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_81026_, SetItemCountFunction p_81027_, com.google.gson.JsonSerializationContext p_81028_)- Specified by:
serialize
in interfaceSerializer<SetItemCountFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<SetItemCountFunction>
-
deserialize
public SetItemCountFunction deserialize(com.google.gson.JsonObject p_81018_, com.google.gson.JsonDeserializationContext p_81019_, LootItemCondition[] p_81020_)- Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<SetItemCountFunction>
-