Uses of Class
net.minecraft.resources.ResourcePackType
-
Packages that use ResourcePackType Package Description net.minecraft.client.resources net.minecraft.resources net.minecraftforge.common.data net.minecraftforge.fml.packs -
-
Uses of ResourcePackType in net.minecraft.client.resources
Methods in net.minecraft.client.resources with parameters of type ResourcePackType Modifier and Type Method Description java.util.Set<java.lang.String>
LegacyResourcePackWrapper. getNamespaces(ResourcePackType p_195759_1_)
java.util.Set<java.lang.String>
LegacyResourcePackWrapperV4. getNamespaces(ResourcePackType p_195759_1_)
java.io.InputStream
LegacyResourcePackWrapper. getResource(ResourcePackType p_195761_1_, ResourceLocation p_195761_2_)
java.io.InputStream
LegacyResourcePackWrapperV4. getResource(ResourcePackType p_195761_1_, ResourceLocation p_195761_2_)
protected java.io.InputStream
VirtualAssetsPack. getResourceAsStream(ResourcePackType p_195782_1_, ResourceLocation p_195782_2_)
java.util.Collection<ResourceLocation>
LegacyResourcePackWrapper. getResources(ResourcePackType p_225637_1_, java.lang.String p_225637_2_, java.lang.String p_225637_3_, int p_225637_4_, java.util.function.Predicate<java.lang.String> p_225637_5_)
java.util.Collection<ResourceLocation>
LegacyResourcePackWrapperV4. getResources(ResourcePackType p_225637_1_, java.lang.String p_225637_2_, java.lang.String p_225637_3_, int p_225637_4_, java.util.function.Predicate<java.lang.String> p_225637_5_)
java.util.Collection<ResourceLocation>
VirtualAssetsPack. getResources(ResourcePackType p_225637_1_, java.lang.String p_225637_2_, java.lang.String p_225637_3_, int p_225637_4_, java.util.function.Predicate<java.lang.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 ResourcePackType Modifier and Type Field Description private ResourcePackType
FallbackResourceManager. type
private ResourcePackType
SimpleReloadableResourceManager. type
Fields in net.minecraft.resources with type parameters of type ResourcePackType Modifier and Type Field Description private static java.util.Map<ResourcePackType,java.nio.file.FileSystem>
VanillaPack. JAR_FILESYSTEM_BY_TYPE
Methods in net.minecraft.resources that return ResourcePackType Modifier and Type Method Description static ResourcePackType
ResourcePackType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResourcePackType[]
ResourcePackType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.resources with parameters of type ResourcePackType Modifier and Type Method Description private static java.lang.String
VanillaPack. createPath(ResourcePackType p_223458_0_, ResourceLocation p_223458_1_)
private java.io.InputStream
VanillaPack. getExtraInputStream(ResourcePackType type, java.lang.String resource)
java.util.Set<java.lang.String>
FilePack. getNamespaces(ResourcePackType p_195759_1_)
java.util.Set<java.lang.String>
FolderPack. getNamespaces(ResourcePackType p_195759_1_)
java.util.Set<java.lang.String>
IResourcePack. getNamespaces(ResourcePackType p_195759_1_)
java.util.Set<java.lang.String>
VanillaPack. getNamespaces(ResourcePackType p_195759_1_)
private static java.lang.String
ResourcePack. getPathFromLocation(ResourcePackType p_195765_0_, ResourceLocation p_195765_1_)
java.io.InputStream
IResourcePack. getResource(ResourcePackType p_195761_1_, ResourceLocation p_195761_2_)
java.io.InputStream
ResourcePack. getResource(ResourcePackType p_195761_1_, ResourceLocation p_195761_2_)
java.io.InputStream
VanillaPack. getResource(ResourcePackType p_195761_1_, ResourceLocation p_195761_2_)
protected java.io.InputStream
VanillaPack. getResourceAsStream(ResourcePackType p_195782_1_, ResourceLocation p_195782_2_)
java.util.Collection<ResourceLocation>
FilePack. getResources(ResourcePackType p_225637_1_, java.lang.String p_225637_2_, java.lang.String p_225637_3_, int p_225637_4_, java.util.function.Predicate<java.lang.String> p_225637_5_)
java.util.Collection<ResourceLocation>
FolderPack. getResources(ResourcePackType p_225637_1_, java.lang.String p_225637_2_, java.lang.String p_225637_3_, int p_225637_4_, java.util.function.Predicate<java.lang.String> p_225637_5_)
java.util.Collection<ResourceLocation>
IResourcePack. getResources(ResourcePackType p_225637_1_, java.lang.String p_225637_2_, java.lang.String p_225637_3_, int p_225637_4_, java.util.function.Predicate<java.lang.String> p_225637_5_)
java.util.Collection<ResourceLocation>
VanillaPack. getResources(ResourcePackType p_225637_1_, java.lang.String p_225637_2_, java.lang.String p_225637_3_, int p_225637_4_, java.util.function.Predicate<java.lang.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 ResourcePackType Constructor Description FallbackResourceManager(ResourcePackType p_i226096_1_, java.lang.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 ResourcePackType Modifier and Type Field Description (package private) ResourcePackType
ExistingFileHelper.ResourceType. packType
Fields in net.minecraftforge.common.data with type parameters of type ResourcePackType Modifier and Type Field Description private com.google.common.collect.Multimap<ResourcePackType,ResourceLocation>
ExistingFileHelper. generated
Methods in net.minecraftforge.common.data that return ResourcePackType Modifier and Type Method Description ResourcePackType
ExistingFileHelper.IResourceType. getPackType()
ResourcePackType
ExistingFileHelper.ResourceType. getPackType()
Methods in net.minecraftforge.common.data with parameters of type ResourcePackType Modifier and Type Method Description boolean
ExistingFileHelper. exists(ResourceLocation loc, ResourcePackType packType)
Check if a given resource exists in the known resource packs.boolean
ExistingFileHelper. exists(ResourceLocation loc, ResourcePackType packType, java.lang.String pathSuffix, java.lang.String pathPrefix)
Check if a given resource exists in the known resource packs.private IResourceManager
ExistingFileHelper. getManager(ResourcePackType packType)
IResource
ExistingFileHelper. getResource(ResourceLocation loc, ResourcePackType packType)
IResource
ExistingFileHelper. getResource(ResourceLocation loc, ResourcePackType packType, java.lang.String pathSuffix, java.lang.String pathPrefix)
void
ExistingFileHelper. trackGenerated(ResourceLocation loc, ResourcePackType packType, java.lang.String pathSuffix, java.lang.String pathPrefix)
Track the existence of a generated file.Constructors in net.minecraftforge.common.data with parameters of type ResourcePackType Constructor Description ResourceType(ResourcePackType type, java.lang.String suffix, java.lang.String prefix)
-
Uses of ResourcePackType in net.minecraftforge.fml.packs
Methods in net.minecraftforge.fml.packs with parameters of type ResourcePackType Modifier and Type Method Description private java.util.Map<java.lang.String,java.util.List<IResourcePack>>
DelegatingResourcePack. buildNamespaceMap(ResourcePackType type, java.util.List<IResourcePack> packList)
private java.util.List<IResourcePack>
DelegatingResourcePack. getCandidatePacks(ResourcePackType type, ResourceLocation location)
private static java.lang.String
DelegatingResourcePack. getFullPath(ResourcePackType type, ResourceLocation location)
java.util.Set<java.lang.String>
DelegatingResourcePack. getNamespaces(ResourcePackType type)
java.util.Set<java.lang.String>
ModFileResourcePack. getNamespaces(ResourcePackType type)
java.io.InputStream
DelegatingResourcePack. getResource(ResourcePackType type, ResourceLocation location)
java.io.InputStream
ModFileResourcePack. getResource(ResourcePackType type, ResourceLocation location)
java.util.Collection<ResourceLocation>
DelegatingResourcePack. getResources(ResourcePackType type, java.lang.String pathIn, java.lang.String pathIn2, int maxDepth, java.util.function.Predicate<java.lang.String> filter)
java.util.Collection<ResourceLocation>
ModFileResourcePack. getResources(ResourcePackType type, java.lang.String resourceNamespace, java.lang.String pathIn, int maxDepth, java.util.function.Predicate<java.lang.String> filter)
boolean
DelegatingResourcePack. hasResource(ResourcePackType type, ResourceLocation location)
boolean
ModFileResourcePack. hasResource(ResourcePackType type, ResourceLocation location)
-