Class PackMetadataSectionSerializer
java.lang.Object
net.minecraft.server.packs.metadata.pack.PackMetadataSectionSerializer
- All Implemented Interfaces:
MetadataSectionSerializer<PackMetadataSection>
,MetadataSectionType<PackMetadataSection>
public class PackMetadataSectionSerializer
extends Object
implements MetadataSectionType<PackMetadataSection>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.google.gson.JsonObject p_10380_) com.google.gson.JsonObject
toJson
(PackMetadataSection p_250206_)
-
Constructor Details
-
PackMetadataSectionSerializer
public PackMetadataSectionSerializer()
-
-
Method Details
-
fromJson
- Specified by:
fromJson
in interfaceMetadataSectionSerializer<PackMetadataSection>
-
toJson
- Specified by:
toJson
in interfaceMetadataSectionType<PackMetadataSection>
-
getMetadataSectionName
- Specified by:
getMetadataSectionName
in interfaceMetadataSectionSerializer<PackMetadataSection>
-