net.minecraft.server.packs.metadata.pack

public record PackMetadataSection

amv
net.minecraft.server.packs.metadata.pack.PackMetadataSection
net.minecraft.class_3272
net.minecraft.resource.metadata.PackResourceMetadata
net.minecraft.src.C_55_
net.minecraft.server.packs.metadata.pack.ResourcePackInfo

Field summary

Modifier and TypeField
private final Component
c
description
comp_1580
description
f_10367_
private final int
d
packFormat
comp_1581
packFormat
f_10368_
private final Optional<InclusiveRange<Integer>>
e
supportedFormats
comp_1582
supportedFormats
f_290577_
public static final com.mojang.serialization.Codec<PackMetadataSection>
a
CODEC
field_45051
CODEC
f_290626_
public static final MetadataSectionType<PackMetadataSection>
b
TYPE
field_14202
SERIALIZER
f_243696_

Constructor summary

ModifierConstructor
public (Component description, int format, Optional<InclusiveRange<Integer>> arg2)

Method summary

Modifier and TypeMethod
public Component
a()
description()
comp_1580()
description()
f_10367_()
public int
b()
packFormat()
comp_1581()
packFormat()
f_10368_()
public Optional<InclusiveRange<Integer>>
c()
supportedFormats()
comp_1582()
supportedFormats()
f_290577_()