net.minecraft.server.packs.metadata.pack

public record PackFormat$IntermediaryFormat

awt$a
net.minecraft.server.packs.metadata.pack.PackFormat$IntermediaryFormat
net.minecraft.class_11555$class_11556
net.minecraft.resource.PackVersion$Format

Field summary

Modifier and TypeField
private final Optional<PackFormat>
b
min
comp_4418
min
private final Optional<PackFormat>
c
max
comp_4419
max
private final Optional<Integer>
d
format
comp_4420
format
private final Optional<List<Integer>>
e
supported
comp_4421
supported
static final com.mojang.serialization.MapCodec<PackFormat$IntermediaryFormat>
f
PACK_CODEC
field_61154
PACK_CODEC
public static final com.mojang.serialization.MapCodec<PackFormat$IntermediaryFormat>
a
OVERLAY_CODEC
field_61153
OVERLAY_CODEC

Constructor summary

ModifierConstructor
public (Optional<PackFormat> arg0, Optional<PackFormat> arg1, Optional<Integer> arg2, Optional<List<Integer>> arg3)

Method summary

Modifier and TypeMethod
public static PackFormat$IntermediaryFormat
a(bca<awt> arg0, int arg1)
fromRange(InclusiveRange<PackFormat> arg0, int arg1)
method_72334(class_6497<class_11555> arg0, int arg1)
ofRange(Range<PackVersion> range, int lastOldPackVersion)
public int
a()
effectiveMinMajorVersion()
method_72330()
minMajor()
public com.mojang.serialization.DataResult<InclusiveRange<PackFormat>>
a(int arg0, boolean arg1, boolean arg2, String arg3, String arg4)
validate(int arg0, boolean arg1, boolean arg2, String arg3, String arg4)
method_72333(int arg0, boolean arg1, boolean arg2, String arg3, String arg4)
validate(int lastOldPackVersion, boolean pack, boolean supportsOld, String packDescriptor, String supportedFormatsKey)
private com.mojang.serialization.DataResult<InclusiveRange<PackFormat>>
b(int arg0, boolean arg1, boolean arg2, String arg3, String arg4)
validateNewFormat(int arg0, boolean arg1, boolean arg2, String arg3, String arg4)
method_72344(int arg0, boolean arg1, boolean arg2, String arg3, String arg4)
validateVersions(int lastOldPackVersion, boolean pack, boolean supportsOld, String packDescriptor, String supportedFormatsKey)
private com.mojang.serialization.DataResult<InclusiveRange<PackFormat>>
a(int arg0, boolean arg1, String arg2, String arg3)
validateOldFormat(int arg0, boolean arg1, String arg2, String arg3)
method_72332(int arg0, boolean arg1, String arg2, String arg3)
validateSupportedFormats(int lastOldPackVersion, boolean pack, String packDescriptor, String supportedFormatsKey)
private String
a(int arg0, int arg1)
validatePackFormatForRange(int arg0, int arg1)
method_72331(int arg0, int arg1)
validateMainFormat(int min, int max)
public Optional<PackFormat>
b()
min()
comp_4418()
min()
public Optional<PackFormat>
c()
max()
comp_4419()
max()
public Optional<Integer>
d()
format()
comp_4420()
format()
public Optional<List<Integer>>
e()
supported()
comp_4421()
supported()