Uses of Enum Class
net.minecraft.resources.ResourcePackType
Packages that use ResourcePackType
Package
Description
-
Uses of ResourcePackType in net.minecraft.client.resources
Methods in net.minecraft.client.resources with parameters of type ResourcePackTypeModifier and TypeMethodDescriptionLegacyResourcePackWrapper.getNamespaces
(ResourcePackType p_195759_1_) LegacyResourcePackWrapperV4.getNamespaces
(ResourcePackType p_195759_1_) LegacyResourcePackWrapper.getResource
(ResourcePackType p_195761_1_, ResourceLocation p_195761_2_) LegacyResourcePackWrapperV4.getResource
(ResourcePackType p_195761_1_, ResourceLocation p_195761_2_) protected InputStream
VirtualAssetsPack.getResourceAsStream
(ResourcePackType p_195782_1_, ResourceLocation p_195782_2_) LegacyResourcePackWrapper.getResources
(ResourcePackType p_225637_1_, String p_225637_2_, String p_225637_3_, int p_225637_4_, Predicate<String> p_225637_5_) LegacyResourcePackWrapperV4.getResources
(ResourcePackType p_225637_1_, String p_225637_2_, String p_225637_3_, int p_225637_4_, Predicate<String> p_225637_5_) VirtualAssetsPack.getResources
(ResourcePackType p_225637_1_, String p_225637_2_, String p_225637_3_, int p_225637_4_, Predicate<String> p_225637_5_) boolean
LegacyResourcePackWrapper.hasResource
(ResourcePackType p_195764_1_, ResourceLocation p_195764_2_) boolean
LegacyResourcePackWrapperV4.hasResource
(ResourcePackType p_195764_1_, ResourceLocation p_195764_2_) boolean
VirtualAssetsPack.hasResource
(ResourcePackType p_195764_1_, ResourceLocation p_195764_2_) -
Uses of ResourcePackType in net.minecraft.resources
Fields in net.minecraft.resources declared as ResourcePackTypeModifier and TypeFieldDescriptionprivate final ResourcePackType
FallbackResourceManager.type
private final ResourcePackType
SimpleReloadableResourceManager.type
Fields in net.minecraft.resources with type parameters of type ResourcePackTypeModifier and TypeFieldDescriptionprivate static final Map<ResourcePackType,
FileSystem> VanillaPack.JAR_FILESYSTEM_BY_TYPE
Methods in net.minecraft.resources that return ResourcePackTypeModifier and TypeMethodDescriptionstatic ResourcePackType
Returns the enum constant of this class with the specified name.static ResourcePackType[]
ResourcePackType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.resources with parameters of type ResourcePackTypeModifier and TypeMethodDescriptionprivate static String
VanillaPack.createPath
(ResourcePackType p_223458_0_, ResourceLocation p_223458_1_) private InputStream
VanillaPack.getExtraInputStream
(ResourcePackType type, String resource) FilePack.getNamespaces
(ResourcePackType p_195759_1_) FolderPack.getNamespaces
(ResourcePackType p_195759_1_) IResourcePack.getNamespaces
(ResourcePackType p_195759_1_) VanillaPack.getNamespaces
(ResourcePackType p_195759_1_) private static String
ResourcePack.getPathFromLocation
(ResourcePackType p_195765_0_, ResourceLocation p_195765_1_) IResourcePack.getResource
(ResourcePackType p_195761_1_, ResourceLocation p_195761_2_) ResourcePack.getResource
(ResourcePackType p_195761_1_, ResourceLocation p_195761_2_) VanillaPack.getResource
(ResourcePackType p_195761_1_, ResourceLocation p_195761_2_) protected InputStream
VanillaPack.getResourceAsStream
(ResourcePackType p_195782_1_, ResourceLocation p_195782_2_) FilePack.getResources
(ResourcePackType p_225637_1_, String p_225637_2_, String p_225637_3_, int p_225637_4_, Predicate<String> p_225637_5_) FolderPack.getResources
(ResourcePackType p_225637_1_, String p_225637_2_, String p_225637_3_, int p_225637_4_, Predicate<String> p_225637_5_) IResourcePack.getResources
(ResourcePackType p_225637_1_, String p_225637_2_, String p_225637_3_, int p_225637_4_, Predicate<String> p_225637_5_) VanillaPack.getResources
(ResourcePackType p_225637_1_, String p_225637_2_, String p_225637_3_, int p_225637_4_, Predicate<String> p_225637_5_) boolean
IResourcePack.hasResource
(ResourcePackType p_195764_1_, ResourceLocation p_195764_2_) boolean
ResourcePack.hasResource
(ResourcePackType p_195764_1_, ResourceLocation p_195764_2_) boolean
VanillaPack.hasResource
(ResourcePackType p_195764_1_, ResourceLocation p_195764_2_) Constructors in net.minecraft.resources with parameters of type ResourcePackTypeModifierConstructorDescriptionFallbackResourceManager
(ResourcePackType p_i226096_1_, String p_i226096_2_) SimpleReloadableResourceManager
(ResourcePackType p_i47905_1_) -
Uses of ResourcePackType in net.minecraftforge.common.data
Fields in net.minecraftforge.common.data declared as ResourcePackTypeModifier and TypeFieldDescription(package private) final ResourcePackType
ExistingFileHelper.ResourceType.packType
Fields in net.minecraftforge.common.data with type parameters of type ResourcePackTypeModifier and TypeFieldDescriptionprivate final com.google.common.collect.Multimap<ResourcePackType,
ResourceLocation> ExistingFileHelper.generated
Methods in net.minecraftforge.common.data that return ResourcePackTypeModifier and TypeMethodDescriptionExistingFileHelper.IResourceType.getPackType()
ExistingFileHelper.ResourceType.getPackType()
Methods in net.minecraftforge.common.data with parameters of type ResourcePackTypeModifier and TypeMethodDescriptionboolean
ExistingFileHelper.exists
(ResourceLocation loc, ResourcePackType packType) Check if a given resource exists in the known resource packs.boolean
ExistingFileHelper.exists
(ResourceLocation loc, ResourcePackType packType, String pathSuffix, String pathPrefix) Check if a given resource exists in the known resource packs.private IResourceManager
ExistingFileHelper.getManager
(ResourcePackType packType) ExistingFileHelper.getResource
(ResourceLocation loc, ResourcePackType packType) ExistingFileHelper.getResource
(ResourceLocation loc, ResourcePackType packType, String pathSuffix, String pathPrefix) void
ExistingFileHelper.trackGenerated
(ResourceLocation loc, ResourcePackType packType, String pathSuffix, String pathPrefix) Track the existence of a generated file.Constructors in net.minecraftforge.common.data with parameters of type ResourcePackType -
Uses of ResourcePackType in net.minecraftforge.fml.packs
Methods in net.minecraftforge.fml.packs with parameters of type ResourcePackTypeModifier and TypeMethodDescriptionprivate Map<String,
List<IResourcePack>> DelegatingResourcePack.buildNamespaceMap
(ResourcePackType type, List<IResourcePack> packList) private List<IResourcePack>
DelegatingResourcePack.getCandidatePacks
(ResourcePackType type, ResourceLocation location) private static String
DelegatingResourcePack.getFullPath
(ResourcePackType type, ResourceLocation location) DelegatingResourcePack.getNamespaces
(ResourcePackType type) ModFileResourcePack.getNamespaces
(ResourcePackType type) DelegatingResourcePack.getResource
(ResourcePackType type, ResourceLocation location) ModFileResourcePack.getResource
(ResourcePackType type, ResourceLocation location) DelegatingResourcePack.getResources
(ResourcePackType type, String pathIn, String pathIn2, int maxDepth, Predicate<String> filter) ModFileResourcePack.getResources
(ResourcePackType type, String resourceNamespace, String pathIn, int maxDepth, Predicate<String> filter) boolean
DelegatingResourcePack.hasResource
(ResourcePackType type, ResourceLocation location) boolean
ModFileResourcePack.hasResource
(ResourcePackType type, ResourceLocation location)