Uses of Record Class
net.minecraft.server.packs.metadata.pack.PackFormat
Packages that use PackFormat
Package
Description
-
Uses of PackFormat in net.minecraft
Fields in net.minecraft declared as PackFormatModifier and TypeFieldDescriptionprivate final PackFormatWorldVersion.Simple.datapackVersionThe field for thedatapackVersionrecord component.private final PackFormatWorldVersion.Simple.resourcePackVersionThe field for theresourcePackVersionrecord component.Methods in net.minecraft that return PackFormatModifier and TypeMethodDescriptionWorldVersion.Simple.datapackVersion()Returns the value of thedatapackVersionrecord component.WorldVersion.packVersion(PackType packType) WorldVersion.Simple.packVersion(PackType packType) WorldVersion.Simple.resourcePackVersion()Returns the value of theresourcePackVersionrecord component.Constructors in net.minecraft with parameters of type PackFormatModifierConstructorDescriptionSimple(String id, String name, DataVersion dataVersion, int protocolVersion, PackFormat resourcePackVersion, PackFormat datapackVersion, Date buildTime, boolean stable) Creates an instance of aSimplerecord class. -
Uses of PackFormat in net.minecraft.server.packs
Fields in net.minecraft.server.packs with type parameters of type PackFormatModifier and TypeFieldDescriptionprivate final InclusiveRange<PackFormat> OverlayMetadataSection.OverlayEntry.formatThe field for theformatrecord component.Methods in net.minecraft.server.packs that return types with arguments of type PackFormatModifier and TypeMethodDescriptionOverlayMetadataSection.OverlayEntry.format()Returns the value of theformatrecord component.Methods in net.minecraft.server.packs with parameters of type PackFormatModifier and TypeMethodDescriptionbooleanOverlayMetadataSection.OverlayEntry.isApplicable(PackFormat formatToTest) OverlayMetadataSection.overlaysForVersion(PackFormat version) Constructor parameters in net.minecraft.server.packs with type arguments of type PackFormatModifierConstructorDescriptionOverlayEntry(InclusiveRange<PackFormat> format, String overlay) Creates an instance of aOverlayEntryrecord class. -
Uses of PackFormat in net.minecraft.server.packs.metadata.pack
Classes in net.minecraft.server.packs.metadata.pack that implement interfaces with type arguments of type PackFormatFields in net.minecraft.server.packs.metadata.pack with type parameters of type PackFormatModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PackFormat> PackFormat.BOTTOM_CODECprivate final Optional<PackFormat> PackFormat.IntermediaryFormat.maxThe field for themaxrecord component.private final Optional<PackFormat> PackFormat.IntermediaryFormat.minThe field for theminrecord component.private final InclusiveRange<PackFormat> PackMetadataSection.supportedFormatsThe field for thesupportedFormatsrecord component.static final com.mojang.serialization.Codec<PackFormat> PackFormat.TOP_CODECMethods in net.minecraft.server.packs.metadata.pack that return PackFormatModifier and TypeMethodDescriptionstatic PackFormatPackFormat.of(int major) static PackFormatPackFormat.of(int major, int minor) Methods in net.minecraft.server.packs.metadata.pack that return types with arguments of type PackFormatModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<PackFormat> PackFormat.fullCodec(int defaultMinor) PackFormat.IntermediaryFormat.max()Returns the value of themaxrecord component.PackFormat.IntermediaryFormat.min()Returns the value of theminrecord component.PackFormat.minorRange()static com.mojang.serialization.MapCodec<InclusiveRange<PackFormat>> PackMetadataSection.supportedFormats()Returns the value of thesupportedFormatsrecord component.com.mojang.serialization.DataResult<InclusiveRange<PackFormat>> PackFormat.IntermediaryFormat.validate(int lastPreMinorVersion, boolean hasPackFormatField, boolean requireOldField, String context, String oldFieldName) private com.mojang.serialization.DataResult<InclusiveRange<PackFormat>> PackFormat.IntermediaryFormat.validateNewFormat(int lastPreMinorVersion, boolean hasPackFormatField, boolean requireOldField, String context, String oldFieldName) private com.mojang.serialization.DataResult<InclusiveRange<PackFormat>> PackFormat.IntermediaryFormat.validateOldFormat(int lastPreMinorVersion, boolean hasPackFormatField, String context, String oldFieldName) Methods in net.minecraft.server.packs.metadata.pack with parameters of type PackFormatMethod parameters in net.minecraft.server.packs.metadata.pack with type arguments of type PackFormatModifier and TypeMethodDescriptionPackFormat.IntermediaryFormat.fromRange(InclusiveRange<PackFormat> range, int lastPreMinorVersion) static <ResultType, HolderType extends PackFormat.IntermediaryFormatHolder>
com.mojang.serialization.DataResult<List<ResultType>> PackFormat.validateHolderList(List<HolderType> list, int lastPreMinorVersion, BiFunction<HolderType, InclusiveRange<PackFormat>, ResultType> constructor) Constructor parameters in net.minecraft.server.packs.metadata.pack with type arguments of type PackFormatModifierConstructorDescriptionIntermediaryFormat(Optional<PackFormat> min, Optional<PackFormat> max, Optional<Integer> format, Optional<InclusiveRange<Integer>> supported) Creates an instance of aIntermediaryFormatrecord class.PackMetadataSection(Component description, InclusiveRange<PackFormat> supportedFormats) Creates an instance of aPackMetadataSectionrecord class. -
Uses of PackFormat in net.minecraft.server.packs.repository
Methods in net.minecraft.server.packs.repository with parameters of type PackFormatModifier and TypeMethodDescriptionstatic PackCompatibilityPackCompatibility.forVersion(InclusiveRange<PackFormat> packDeclaredVersions, PackFormat gameSupportedVersion) static @Nullable Pack.MetadataPack.readPackMetadata(PackLocationInfo location, Pack.ResourcesSupplier resources, PackFormat currentPackVersion, PackType type) Method parameters in net.minecraft.server.packs.repository with type arguments of type PackFormatModifier and TypeMethodDescriptionstatic PackCompatibilityPackCompatibility.forVersion(InclusiveRange<PackFormat> packDeclaredVersions, PackFormat gameSupportedVersion) -
Uses of PackFormat in net.neoforged.neoforge.resource
Fields in net.neoforged.neoforge.resource with type parameters of type PackFormatModifier and TypeFieldDescriptionprivate static final InclusiveRange<PackFormat> ResourcePackLoader.UNLIMITED_SUPPORT