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 pPackType) 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 pType) FilePackResources.getNamespaces(PackType pType) PackResources.getNamespaces(PackType pType) PathPackResources.getNamespaces(PackType pType) VanillaPackResources.getNamespaces(PackType pType) private static StringFilePackResources.getPathFromLocation(PackType pPackType, ResourceLocation pLocation) CompositePackResources.getResource(PackType pPackType, ResourceLocation pLocation) FilePackResources.getResource(PackType pPackType, ResourceLocation pLocation) PackResources.getResource(PackType pPackType, ResourceLocation pLocation) PathPackResources.getResource(PackType pPackType, ResourceLocation pLocation) VanillaPackResources.getResource(PackType pPackType, ResourceLocation pLocation) voidVanillaPackResources.listRawPaths(PackType pPackType, ResourceLocation pPackLocation, Consumer<Path> pOutput) voidCompositePackResources.listResources(PackType pPackType, String pNamespace, String pPath, PackResources.ResourceOutput pResourceOutput) voidFilePackResources.listResources(PackType pPackType, String pNamespace, String pPath, PackResources.ResourceOutput pResourceOutput) voidPackResources.listResources(PackType pPackType, String pNamespace, String pPath, PackResources.ResourceOutput pResourceOutput) voidPathPackResources.listResources(PackType pPackType, String pNamespace, String pPath, PackResources.ResourceOutput pResourceOutput) voidVanillaPackResources.listResources(PackType pPackType, String pNamespace, String pPath, PackResources.ResourceOutput pResourceOutput) VanillaPackResourcesBuilder.pushAssetPath(PackType pPackType, Path pPath) VanillaPackResourcesBuilder.pushClasspathResources(PackType pPackType, Class<?> pClazz) private voidVanillaPackResourcesBuilder.pushPathForType(PackType pPackType, Path pPath) Constructor parameters in net.minecraft.server.packs with type arguments of type PackTypeModifierConstructorDescription(package private)VanillaPackResources(PackLocationInfo pLocation, BuiltInMetadata pMetadata, Set<String> pNamespaces, List<Path> pRootPaths, Map<PackType, List<Path>> pPathsForType) -
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 pLocation, Pack.ResourcesSupplier pResources, PackType pPackType, PackSelectionConfig pSelectionConfig) Constructors in net.minecraft.server.packs.repository with parameters of type PackTypeModifierConstructorDescriptionBuiltInPackSource(PackType pPackType, VanillaPackResources pVanillaPack, ResourceLocation pPackDir, DirectoryValidator pValidator) FolderRepositorySource(Path pFolder, PackType pPackType, PackSource pPackSource, DirectoryValidator pValidator) -
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 pType, String pNamespace) MultiPackResourceManager(PackType pType, List<PackResources> pPacks) -
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)