Uses of Enum Class
net.minecraft.server.packs.PackType
Packages that use PackType
Package
Description
-
Uses of PackType in net.minecraft
Methods in net.minecraft with parameters of type PackTypeModifier and TypeMethodDescriptionWorldVersion.packVersion(PackType packType) WorldVersion.Simple.packVersion(PackType p_415556_) -
Uses of PackType in net.minecraft.server.packs
Fields in net.minecraft.server.packs with type parameters of type PackTypeModifier and TypeFieldDescriptionVanillaPackResources.pathsForTypeVanillaPackResourcesBuilder.pathsForTypeVanillaPackResourcesBuilder.ROOT_DIR_BY_TYPEMethods in net.minecraft.server.packs that return PackTypeModifier and TypeMethodDescriptionstatic PackTypeReturns the enum constant of this class with the specified name.static PackType[]PackType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.server.packs with parameters of type PackTypeModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<OverlayMetadataSection> OverlayMetadataSection.codecForPackType(PackType packType) OverlayMetadataSection.forPackType(PackType packType) OverlayMetadataSection.forPackTypeNeoForge(PackType p_434837_) CompositePackResources.getNamespaces(PackType p_294708_) FilePackResources.getNamespaces(PackType type) PackResources.getNamespaces(PackType type) PathPackResources.getNamespaces(PackType p_251896_) VanillaPackResources.getNamespaces(PackType type) private static StringFilePackResources.getPathFromLocation(PackType packType, Identifier location) @Nullable IoSupplier<InputStream> CompositePackResources.getResource(PackType p_295406_, Identifier p_466893_) FilePackResources.getResource(PackType p_249605_, Identifier p_467407_) @Nullable IoSupplier<InputStream> PackResources.getResource(PackType packType, Identifier location) @Nullable IoSupplier<InputStream> PathPackResources.getResource(PackType p_249352_, Identifier p_468733_) @Nullable IoSupplier<InputStream> VanillaPackResources.getResource(PackType p_250512_, Identifier p_466991_) (package private) static com.mojang.serialization.Codec<List<OverlayMetadataSection.OverlayEntry>> OverlayMetadataSection.OverlayEntry.listCodecForPackType(PackType packType) voidVanillaPackResources.listRawPaths(PackType packType, Identifier packLocation, Consumer<Path> output) voidCompositePackResources.listResources(PackType p_295490_, String p_296164_, String p_294691_, PackResources.ResourceOutput p_295313_) voidFilePackResources.listResources(PackType p_250500_, String p_249598_, String p_251613_, PackResources.ResourceOutput p_250655_) voidPackResources.listResources(PackType packType, String namespace, String path, PackResources.ResourceOutput resourceOutput) voidPathPackResources.listResources(PackType p_251452_, String p_249854_, String p_248650_, PackResources.ResourceOutput p_248572_) voidVanillaPackResources.listResources(PackType p_248974_, String p_248703_, String p_250848_, PackResources.ResourceOutput p_249668_) VanillaPackResourcesBuilder.pushAssetPath(PackType packType, Path path) VanillaPackResourcesBuilder.pushClasspathResources(PackType packType, Class<?> clazz) private voidVanillaPackResourcesBuilder.pushPathForType(PackType packType, Path path) Constructor parameters in net.minecraft.server.packs with type arguments of type PackTypeModifierConstructorDescription(package private)VanillaPackResources(PackLocationInfo location, BuiltInMetadata metadata, Set<String> namespaces, List<Path> rootPaths, Map<PackType, List<Path>> pathsForType) -
Uses of PackType in net.minecraft.server.packs.metadata.pack
Methods in net.minecraft.server.packs.metadata.pack with parameters of type PackTypeModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<PackMetadataSection> PackMetadataSection.codecForPackType(PackType packType) PackMetadataSection.forPackType(PackType packType) static intPackFormat.lastPreMinorVersion(PackType type) static com.mojang.serialization.MapCodec<InclusiveRange<PackFormat>> -
Uses of PackType in net.minecraft.server.packs.repository
Fields in net.minecraft.server.packs.repository declared as PackTypeModifier and TypeFieldDescriptionprivate final PackTypeBuiltInPackSource.packTypeprivate final PackTypeFolderRepositorySource.packTypeMethods in net.minecraft.server.packs.repository with parameters of type PackTypeModifier and TypeMethodDescriptionstatic @Nullable PackPack.readMetaAndCreate(PackLocationInfo location, Pack.ResourcesSupplier resources, PackType packType, PackSelectionConfig selectionConfig) static @Nullable Pack.MetadataPack.readPackMetadata(PackLocationInfo location, Pack.ResourcesSupplier resources, PackFormat format, PackType packType) Constructors in net.minecraft.server.packs.repository with parameters of type PackTypeModifierConstructorDescriptionBuiltInPackSource(PackType packType, VanillaPackResources vanillaPack, Identifier packDir, DirectoryValidator validator) FolderRepositorySource(Path folder, PackType packType, PackSource packSource, DirectoryValidator validator) -
Uses of PackType in net.minecraft.server.packs.resources
Fields in net.minecraft.server.packs.resources declared as PackTypeModifier and TypeFieldDescriptionprivate final PackTypeFallbackResourceManager.typeprivate final PackTypeReloadableResourceManager.typeConstructors in net.minecraft.server.packs.resources with parameters of type PackTypeModifierConstructorDescriptionFallbackResourceManager(PackType type, String namespace) MultiPackResourceManager(PackType type, List<PackResources> packs) -
Uses of PackType in net.neoforged.neoforge.common.data
Methods in net.neoforged.neoforge.common.data with parameters of type PackTypeModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<GeneratingOverlayMetadataSection> GeneratingOverlayMetadataSection.neoforgeType(PackType packType) -
Uses of PackType in net.neoforged.neoforge.data.event
Methods in net.neoforged.neoforge.data.event with parameters of type PackTypeModifier and TypeMethodDescriptionprivate static ResourceManagerGatherDataEvent.DataGeneratorConfig.createResourceManager(PackType packType, Predicate<String> isGeneratedMod, Collection<Path> existingPacks, Consumer<Consumer<PackResources>> consumer) GatherDataEvent.getResourceManager(PackType packType) -
Uses of PackType in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as PackTypeMethods in net.neoforged.neoforge.event that return PackTypeMethods in net.neoforged.neoforge.event with parameters of type PackTypeModifier and TypeMethodDescriptionvoidAddPackFindersEvent.addPackFinders(Identifier packLocation, PackType packType, Component packNameDisplay, PackSource packSource, boolean alwaysActive, Pack.Position packPosition) Helper method to register a pack found under the `resources/` folder.Constructors in net.neoforged.neoforge.event with parameters of type PackTypeModifierConstructorDescriptionAddPackFindersEvent(PackType packType, Consumer<RepositorySource> sources, boolean trusted) -
Uses of PackType in net.neoforged.neoforge.resource
Methods in net.neoforged.neoforge.resource with parameters of type PackTypeModifier and TypeMethodDescriptionstatic RepositorySourceResourcePackLoader.buildPackFinder(Map<IModFile, Pack.ResourcesSupplier> modResourcePacks, PackType packType) EmptyPackResources.getNamespaces(PackType type) JarContentsPackResources.getNamespaces(PackType packType) ResourcePackLoader.getPackNames(PackType packType) private static StringJarContentsPackResources.getPathFromLocation(PackType packType, Identifier location) @Nullable IoSupplier<InputStream> EmptyPackResources.getResource(PackType type, Identifier location) JarContentsPackResources.getResource(PackType packType, Identifier location) voidEmptyPackResources.listResources(PackType type, String resourceNamespace, String paths, PackResources.ResourceOutput resourceOutput) voidJarContentsPackResources.listResources(PackType packType, String namespace, String prefix, PackResources.ResourceOutput output) private static Packprivate static com.mojang.serialization.Codec<PackMetadataSection> ResourcePackLoader.metadataCodecForPackType(PackType type) private static MetadataSectionType<PackMetadataSection> ResourcePackLoader.metadataTypeForPackType(PackType type) private static voidResourcePackLoader.packFinder(Map<IModFile, Pack.ResourcesSupplier> modResourcePacks, Consumer<Pack> packAcceptor, PackType packType) static voidResourcePackLoader.populatePackRepository(PackRepository resourcePacks, PackType packType, boolean trusted) private static Pack.MetadataResourcePackLoader.readMeta(PackType type, PackLocationInfo location, Pack.ResourcesSupplier resources) static PackResourcePackLoader.readWithOptionalMeta(PackLocationInfo location, Pack.ResourcesSupplier resources, PackType type, PackSelectionConfig selectionConfig)