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 TypeMethodDescriptionint
WorldVersion.packVersion
(PackType pPackType) int
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.pathsForType
VanillaPackResourcesBuilder.pathsForType
VanillaPackResourcesBuilder.ROOT_DIR_BY_TYPE
Methods in net.minecraft.server.packs that return PackTypeModifier and TypeMethodDescriptionstatic PackType
Returns 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 String
FilePackResources.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) void
VanillaPackResources.listRawPaths
(PackType pPackType, ResourceLocation pPackLocation, Consumer<Path> pOutput) void
CompositePackResources.listResources
(PackType pPackType, String pNamespace, String pPath, PackResources.ResourceOutput pResourceOutput) void
FilePackResources.listResources
(PackType pPackType, String pNamespace, String pPath, PackResources.ResourceOutput pResourceOutput) void
PackResources.listResources
(PackType pPackType, String pNamespace, String pPath, PackResources.ResourceOutput pResourceOutput) void
PathPackResources.listResources
(PackType pPackType, String pNamespace, String pPath, PackResources.ResourceOutput pResourceOutput) void
VanillaPackResources.listResources
(PackType pPackType, String pNamespace, String pPath, PackResources.ResourceOutput pResourceOutput) VanillaPackResourcesBuilder.pushAssetPath
(PackType pPackType, Path pPath) VanillaPackResourcesBuilder.pushClasspathResources
(PackType pPackType, Class<?> pClazz) private void
VanillaPackResourcesBuilder.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 PackType
BuiltInPackSource.packType
private final PackType
FolderRepositorySource.packType
Methods in net.minecraft.server.packs.repository with parameters of type PackTypeModifier and TypeMethodDescriptionstatic Pack
Pack.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 PackType
FallbackResourceManager.type
private final PackType
ReloadableResourceManager.type
Constructors 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 ResourceManager
GatherDataEvent.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 TypeMethodDescriptionvoid
AddPackFindersEvent.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 RepositorySource
ResourcePackLoader.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) void
EmptyPackResources.listResources
(PackType type, String resourceNamespace, String paths, PackResources.ResourceOutput resourceOutput) private static Pack
private static void
ResourcePackLoader.packFinder
(Map<IModFile, Pack.ResourcesSupplier> modResourcePacks, Consumer<Pack> packAcceptor, PackType packType) static void
ResourcePackLoader.populatePackRepository
(PackRepository resourcePacks, PackType packType, boolean trusted) private static Pack.Metadata
ResourcePackLoader.readMeta
(PackType type, PackLocationInfo location, Pack.ResourcesSupplier resources) static Pack
ResourcePackLoader.readWithOptionalMeta
(PackLocationInfo location, Pack.ResourcesSupplier resources, PackType type, PackSelectionConfig selectionConfig)