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 TypeMethodDescriptionintWorldVersion.packVersion(PackType packType) intWorldVersion.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 TypeMethodDescriptionCompositePackResources.getNamespaces(PackType type) FilePackResources.getNamespaces(PackType type) PackResources.getNamespaces(PackType type) PathPackResources.getNamespaces(PackType type) VanillaPackResources.getNamespaces(PackType type) private static StringFilePackResources.getPathFromLocation(PackType packType, ResourceLocation location) CompositePackResources.getResource(PackType packType, ResourceLocation location) FilePackResources.getResource(PackType packType, ResourceLocation location) PackResources.getResource(PackType packType, ResourceLocation location) PathPackResources.getResource(PackType packType, ResourceLocation location) VanillaPackResources.getResource(PackType packType, ResourceLocation location) voidVanillaPackResources.listRawPaths(PackType packType, ResourceLocation packLocation, Consumer<Path> output) voidCompositePackResources.listResources(PackType packType, String namespace, String path, PackResources.ResourceOutput resourceOutput) voidFilePackResources.listResources(PackType packType, String namespace, String path, PackResources.ResourceOutput resourceOutput) voidPackResources.listResources(PackType packType, String namespace, String path, PackResources.ResourceOutput resourceOutput) voidPathPackResources.listResources(PackType packType, String namespace, String path, PackResources.ResourceOutput resourceOutput) voidVanillaPackResources.listResources(PackType packType, String namespace, String path, PackResources.ResourceOutput resourceOutput) 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.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 PackPack.readMetaAndCreate(PackLocationInfo location, Pack.ResourcesSupplier resources, PackType packType, PackSelectionConfig selectionConfig) Constructors in net.minecraft.server.packs.repository with parameters of type PackTypeModifierConstructorDescriptionBuiltInPackSource(PackType packType, VanillaPackResources vanillaPack, ResourceLocation 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.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(ResourceLocation 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) ResourcePackLoader.getPackNames(PackType packType) @Nullable IoSupplier<InputStream> EmptyPackResources.getResource(PackType type, ResourceLocation location) voidEmptyPackResources.listResources(PackType type, String resourceNamespace, String paths, PackResources.ResourceOutput resourceOutput) private static Packprivate 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)