Class ApplyBonusCount.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<ApplyBonusCount>
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount.Serializer
- All Implemented Interfaces:
Serializer<ApplyBonusCount>
- Enclosing class:
- ApplyBonusCount
public static class ApplyBonusCount.Serializer
extends LootItemConditionalFunction.Serializer<ApplyBonusCount>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_79991_, com.google.gson.JsonDeserializationContext p_79992_, LootItemCondition[] p_79993_) void
serialize
(com.google.gson.JsonObject p_79995_, ApplyBonusCount p_79996_, com.google.gson.JsonSerializationContext p_79997_) 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_79995_, ApplyBonusCount p_79996_, com.google.gson.JsonSerializationContext p_79997_) - Specified by:
serialize
in interfaceSerializer<ApplyBonusCount>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<ApplyBonusCount>
-
deserialize
public ApplyBonusCount deserialize(com.google.gson.JsonObject p_79991_, com.google.gson.JsonDeserializationContext p_79992_, LootItemCondition[] p_79993_) - Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<ApplyBonusCount>
-