Class FunctionReference.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<FunctionReference>
net.minecraft.world.level.storage.loot.functions.FunctionReference.Serializer
- All Implemented Interfaces:
Serializer<FunctionReference>
- Enclosing class:
- FunctionReference
public static class FunctionReference.Serializer
extends LootItemConditionalFunction.Serializer<FunctionReference>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_279189_, com.google.gson.JsonDeserializationContext p_279307_, LootItemCondition[] p_279314_) void
serialize
(com.google.gson.JsonObject p_279239_, FunctionReference p_279287_, com.google.gson.JsonSerializationContext p_279375_) 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_279239_, FunctionReference p_279287_, com.google.gson.JsonSerializationContext p_279375_) - Specified by:
serialize
in interfaceSerializer<FunctionReference>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<FunctionReference>
-
deserialize
public FunctionReference deserialize(com.google.gson.JsonObject p_279189_, com.google.gson.JsonDeserializationContext p_279307_, LootItemCondition[] p_279314_) - Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<FunctionReference>
-