Package net.minecraft.loot.functions
Class EnchantWithLevels.Serializer
java.lang.Object
net.minecraft.loot.LootFunction.Serializer<EnchantWithLevels>
net.minecraft.loot.functions.EnchantWithLevels.Serializer
- All Implemented Interfaces:
ILootSerializer<EnchantWithLevels>
- Enclosing class:
- EnchantWithLevels
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) void
serialize
(com.google.gson.JsonObject p_230424_1_, EnchantWithLevels p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_) Methods inherited from class net.minecraft.loot.LootFunction.Serializer
deserialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_230424_1_, EnchantWithLevels p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_) - Specified by:
serialize
in interfaceILootSerializer<EnchantWithLevels>
- Overrides:
serialize
in classLootFunction.Serializer<EnchantWithLevels>
-
deserialize
public EnchantWithLevels deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) - Specified by:
deserialize
in classLootFunction.Serializer<EnchantWithLevels>
-