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 pPackType) WorldVersion.Simple.packVersion(PackType p_415556_) 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 pPackFormat) OverlayMetadataSection.overlaysForVersion(PackFormat pPackFormat) 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
Fields 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 pMajor) static PackFormatPackFormat.of(int pMajor, int pMinor) 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 pDefaultMinorVersion) 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 pVersionThreshold, boolean pRequireOldFormat, boolean pRequireNewFormat, String pContextLabel, String pOldFormatsKey) private com.mojang.serialization.DataResult<InclusiveRange<PackFormat>> PackFormat.IntermediaryFormat.validateNewFormat(int pVersionThreshold, boolean pRequireOldFormat, boolean pRequireNewFormat, String pContextLabel, String pOldFormatsKey) private com.mojang.serialization.DataResult<InclusiveRange<PackFormat>> PackFormat.IntermediaryFormat.validateOldFormat(int pVersionThreshold, boolean pRequireOldFormat, String pContextLabel, String pOldFormatsKey) 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> pRange, int pVersionThreshold) static <ResultType,HolderType extends PackFormat.IntermediaryFormatHolder>
com.mojang.serialization.DataResult<List<ResultType>> PackFormat.validateHolderList(List<HolderType> pHolderList, int pVersionThreshold, BiFunction<HolderType, InclusiveRange<PackFormat>, ResultType> pMapper) 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> pSupportedVersions, PackFormat pCurrentVersion) static Pack.MetadataPack.readPackMetadata(PackLocationInfo pLocation, Pack.ResourcesSupplier pResources, PackFormat pFormat, PackType pPackType) Method parameters in net.minecraft.server.packs.repository with type arguments of type PackFormatModifier and TypeMethodDescriptionstatic PackCompatibilityPackCompatibility.forVersion(InclusiveRange<PackFormat> pSupportedVersions, PackFormat pCurrentVersion) -
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