Class EnchantWithLevelsFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<EnchantWithLevelsFunction>
net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction.Serializer
- All Implemented Interfaces:
Serializer<EnchantWithLevelsFunction>
- Enclosing class:
- EnchantWithLevelsFunction
public static class EnchantWithLevelsFunction.Serializer
extends LootItemConditionalFunction.Serializer<EnchantWithLevelsFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_80502_, com.google.gson.JsonDeserializationContext p_80503_, LootItemCondition[] p_80504_) void
serialize
(com.google.gson.JsonObject p_80506_, EnchantWithLevelsFunction p_80507_, com.google.gson.JsonSerializationContext p_80508_) 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_80506_, EnchantWithLevelsFunction p_80507_, com.google.gson.JsonSerializationContext p_80508_) - Specified by:
serialize
in interfaceSerializer<EnchantWithLevelsFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<EnchantWithLevelsFunction>
-
deserialize
public EnchantWithLevelsFunction deserialize(com.google.gson.JsonObject p_80502_, com.google.gson.JsonDeserializationContext p_80503_, LootItemCondition[] p_80504_) - Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<EnchantWithLevelsFunction>
-