Class SetInstrumentFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<SetInstrumentFunction>
net.minecraft.world.level.storage.loot.functions.SetInstrumentFunction.Serializer
- All Implemented Interfaces:
Serializer<SetInstrumentFunction>
- Enclosing class:
- SetInstrumentFunction
public static class SetInstrumentFunction.Serializer
extends LootItemConditionalFunction.Serializer<SetInstrumentFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_231021_, com.google.gson.JsonDeserializationContext p_231022_, LootItemCondition[] p_231023_) void
serialize
(com.google.gson.JsonObject p_231029_, SetInstrumentFunction p_231030_, com.google.gson.JsonSerializationContext p_231031_) 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_231029_, SetInstrumentFunction p_231030_, com.google.gson.JsonSerializationContext p_231031_) - Specified by:
serialize
in interfaceSerializer<SetInstrumentFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<SetInstrumentFunction>
-
deserialize
public SetInstrumentFunction deserialize(com.google.gson.JsonObject p_231021_, com.google.gson.JsonDeserializationContext p_231022_, LootItemCondition[] p_231023_) - Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<SetInstrumentFunction>
-