Class LimitCount.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<LimitCount>
net.minecraft.world.level.storage.loot.functions.LimitCount.Serializer
- All Implemented Interfaces:
Serializer<LimitCount>
- Enclosing class:
- LimitCount
public static class LimitCount.Serializer
extends LootItemConditionalFunction.Serializer<LimitCount>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject p_80656_, com.google.gson.JsonDeserializationContext p_80657_, LootItemCondition[] p_80658_)
void
serialize(com.google.gson.JsonObject p_80660_, LimitCount p_80661_, com.google.gson.JsonSerializationContext p_80662_)
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_80660_, LimitCount p_80661_, com.google.gson.JsonSerializationContext p_80662_)- Specified by:
serialize
in interfaceSerializer<LimitCount>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<LimitCount>
-
deserialize
public LimitCount deserialize(com.google.gson.JsonObject p_80656_, com.google.gson.JsonDeserializationContext p_80657_, LootItemCondition[] p_80658_)- Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<LimitCount>
-