Class StorageNbtProvider.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.providers.nbt.StorageNbtProvider.Serializer
- All Implemented Interfaces:
Serializer<StorageNbtProvider>
- Enclosing class:
- StorageNbtProvider
public static class StorageNbtProvider.Serializer
extends Object
implements Serializer<StorageNbtProvider>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_165651_, com.google.gson.JsonDeserializationContext p_165652_) void
serialize
(com.google.gson.JsonObject p_165643_, StorageNbtProvider p_165644_, com.google.gson.JsonSerializationContext p_165645_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_165643_, StorageNbtProvider p_165644_, com.google.gson.JsonSerializationContext p_165645_) - Specified by:
serialize
in interfaceSerializer<StorageNbtProvider>
-
deserialize
public StorageNbtProvider deserialize(com.google.gson.JsonObject p_165651_, com.google.gson.JsonDeserializationContext p_165652_) - Specified by:
deserialize
in interfaceSerializer<StorageNbtProvider>
-