Package net.minecraft.loot.functions
Class EnchantRandomly.Serializer
java.lang.Object
net.minecraft.loot.LootFunction.Serializer<EnchantRandomly>
net.minecraft.loot.functions.EnchantRandomly.Serializer
- All Implemented Interfaces:
ILootSerializer<EnchantRandomly>
- Enclosing class:
- EnchantRandomly
-
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_, EnchantRandomly 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_, EnchantRandomly p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_) - Specified by:
serialize
in interfaceILootSerializer<EnchantRandomly>
- Overrides:
serialize
in classLootFunction.Serializer<EnchantRandomly>
-
deserialize
public EnchantRandomly 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<EnchantRandomly>
-