net.minecraft.server.packs.metadata.pack

public record PackMetadataSection

awu
net.minecraft.server.packs.metadata.pack.PackMetadataSection
net.minecraft.class_3272
net.minecraft.resource.metadata.PackResourceMetadata

Field summary

Modifier and TypeField
private final Component
d
description
comp_1580
description
private final InclusiveRange<PackFormat>
e
supportedFormats
comp_1582
supportedFormats
private static final com.mojang.serialization.Codec<PackMetadataSection>
f
FALLBACK_CODEC
field_45051
DESCRIPTION_CODEC
public static final MetadataSectionType<PackMetadataSection>
a
CLIENT_TYPE
field_61155
CLIENT_RESOURCES_SERIALIZER
public static final MetadataSectionType<PackMetadataSection>
b
SERVER_TYPE
field_61156
SERVER_DATA_SERIALIZER
public static final MetadataSectionType<PackMetadataSection>
c
FALLBACK_TYPE
field_61157
DESCRIPTION_SERIALIZER

Constructor summary

ModifierConstructor
public (Component description, InclusiveRange<PackFormat> arg1)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.Codec<PackMetadataSection>
b(awh arg0)
codecForPackType(PackType arg0)
method_72360(class_3264 arg0)
createCodec(ResourceType type)
public static MetadataSectionType<PackMetadataSection>
a(awh arg0)
forPackType(PackType arg0)
method_72356(class_3264 arg0)
getSerializerFor(ResourceType type)
public Component
a()
description()
comp_1580()
description()
public InclusiveRange<PackFormat>
b()
supportedFormats()
comp_1582()
supportedFormats()