Class ContextScoreboardNameProvider.InlineSerializer
java.lang.Object
net.minecraft.world.level.storage.loot.providers.score.ContextScoreboardNameProvider.InlineSerializer
- All Implemented Interfaces:
GsonAdapterFactory.InlineSerializer<ContextScoreboardNameProvider>
- Enclosing class:
- ContextScoreboardNameProvider
public static class ContextScoreboardNameProvider.InlineSerializer
extends Object
implements GsonAdapterFactory.InlineSerializer<ContextScoreboardNameProvider>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement p_165823_, com.google.gson.JsonDeserializationContext p_165824_) com.google.gson.JsonElement
serialize
(ContextScoreboardNameProvider p_165817_, com.google.gson.JsonSerializationContext p_165818_)
-
Constructor Details
-
InlineSerializer
public InlineSerializer()
-
-
Method Details
-
serialize
public com.google.gson.JsonElement serialize(ContextScoreboardNameProvider p_165817_, com.google.gson.JsonSerializationContext p_165818_) - Specified by:
serialize
in interfaceGsonAdapterFactory.InlineSerializer<ContextScoreboardNameProvider>
-
deserialize
public ContextScoreboardNameProvider deserialize(com.google.gson.JsonElement p_165823_, com.google.gson.JsonDeserializationContext p_165824_) - Specified by:
deserialize
in interfaceGsonAdapterFactory.InlineSerializer<ContextScoreboardNameProvider>
-