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