Uses of Interface
net.minecraft.resource.ResourcePack
Package | Description |
---|---|
net.minecraft.client | |
net.minecraft.client.resource | |
net.minecraft.client.resource.language | |
net.minecraft.resource |
Provides resources to Minecraft, including resource access and provision.
|
-
Uses of ResourcePack in net.minecraft.client
Methods in net.minecraft.client that return types with arguments of type ResourcePack Modifier and Type Method Description private static Supplier<ResourcePack>
MinecraftClient. createV3ResourcePackFactory(Supplier<ResourcePack> packFactory)
private static Supplier<ResourcePack>
MinecraftClient. createV4ResourcePackFactory(Supplier<ResourcePack> packFactory)
Method parameters in net.minecraft.client with type arguments of type ResourcePack Modifier and Type Method Description private static ResourcePackProfile
MinecraftClient. createResourcePackProfile(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> supplier, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition insertionPosition, ResourcePackSource source)
private static Supplier<ResourcePack>
MinecraftClient. createV3ResourcePackFactory(Supplier<ResourcePack> packFactory)
private static Supplier<ResourcePack>
MinecraftClient. createV4ResourcePackFactory(Supplier<ResourcePack> packFactory)
-
Uses of ResourcePack in net.minecraft.client.resource
Classes in net.minecraft.client.resource that implement ResourcePack Modifier and Type Class Description class
DefaultClientResourcePack
class
Format3ResourcePack
class
Format4ResourcePack
Fields in net.minecraft.client.resource declared as ResourcePack Modifier and Type Field Description private ResourcePack
Format3ResourcePack. parent
private ResourcePack
Format4ResourcePack. parent
Methods in net.minecraft.client.resource that return ResourcePack Modifier and Type Method Description private static ResourcePack
ClientBuiltinResourcePackProvider. getProgrammerArtResourcePackFromZipFile(File zipFile)
Method parameters in net.minecraft.client.resource with type arguments of type ResourcePack Modifier and Type Method Description private static @Nullable ResourcePackProfile
ClientBuiltinResourcePackProvider. getProgrammerArtResourcePackProfile(ResourcePackProfile.Factory factory, Supplier<ResourcePack> packSupplier)
Constructors in net.minecraft.client.resource with parameters of type ResourcePack Constructor Description Format3ResourcePack(ResourcePack parent, Map<Identifier,Identifier> idMap)
Format4ResourcePack(ResourcePack parent)
-
Uses of ResourcePack in net.minecraft.client.resource.language
Method parameters in net.minecraft.client.resource.language with type arguments of type ResourcePack Modifier and Type Method Description private static Map<String,LanguageDefinition>
LanguageManager. loadAvailableLanguages(Stream<ResourcePack> packs)
-
Uses of ResourcePack in net.minecraft.resource
Classes in net.minecraft.resource that implement ResourcePack Modifier and Type Class Description class
AbstractFileResourcePack
class
DefaultResourcePack
class
DirectoryResourcePack
class
ZipResourcePack
Fields in net.minecraft.resource declared as ResourcePack Modifier and Type Field Description private ResourcePack
ReloadableResourceManagerImpl.PackAdditionFailedException. pack
Fields in net.minecraft.resource with type parameters of type ResourcePack Modifier and Type Field Description private Supplier<ResourcePack>
ResourcePackProfile. packFactory
protected List<ResourcePack>
NamespaceResourceManager. packList
private List<ResourcePack>
ReloadableResourceManagerImpl. packs
Methods in net.minecraft.resource that return ResourcePack Modifier and Type Method Description ResourcePack
ResourcePackProfile. createResourcePack()
ResourcePack
ReloadableResourceManagerImpl.PackAdditionFailedException. getPack()
Methods in net.minecraft.resource that return types with arguments of type ResourcePack Modifier and Type Method Description private Supplier<ResourcePack>
FileResourcePackProvider. createResourcePack(File file)
List<ResourcePack>
ResourcePackManager. createResourcePacks()
Stream<ResourcePack>
NamespaceResourceManager. streamResourcePacks()
Gets a stream of loaded resource packs in increasing order of priority.Stream<ResourcePack>
ReloadableResourceManagerImpl. streamResourcePacks()
Gets a stream of loaded resource packs in increasing order of priority.Stream<ResourcePack>
ResourceManager.Empty. streamResourcePacks()
Gets a stream of loaded resource packs in increasing order of priority.Stream<ResourcePack>
ResourceManager. streamResourcePacks()
Gets a stream of loaded resource packs in increasing order of priority.Methods in net.minecraft.resource with parameters of type ResourcePack Modifier and Type Method Description void
NamespaceResourceManager. addPack(ResourcePack pack)
void
ReloadableResourceManagerImpl. addPack(ResourcePack pack)
protected InputStream
NamespaceResourceManager. open(Identifier id, ResourcePack pack)
Method parameters in net.minecraft.resource with type arguments of type ResourcePack Modifier and Type Method Description @Nullable ResourcePackProfile
ResourcePackProfile.Factory. create(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition initialPosition, ResourcePackSource source)
Creates a proper resource pack profile from the given parameters.static @Nullable ResourcePackProfile
ResourcePackProfile. of(String name, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, ResourcePackProfile.Factory profileFactory, ResourcePackProfile.InsertionPosition insertionPosition, ResourcePackSource packSource)
Creates a resource pack profile from the given parameters.ResourceReload
ReloadableResourceManager. reload(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs)
Performs a reload.default CompletableFuture<Unit>
ReloadableResourceManager. reload(Executor prepareExecutor, Executor applyExecutor, List<ResourcePack> packs, CompletableFuture<Unit> initialStage)
Performs a reload.ResourceReload
ReloadableResourceManagerImpl. reload(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs)
Performs a reload.static CompletableFuture<ServerResourceManager>
ServerResourceManager. reload(List<ResourcePack> packs, DynamicRegistryManager registryManager, CommandManager.RegistrationEnvironment commandEnvironment, int functionPermissionLevel, Executor prepareExecutor, Executor applyExecutor)
Constructors in net.minecraft.resource with parameters of type ResourcePack Constructor Description PackAdditionFailedException(ResourcePack pack, Throwable cause)
Constructor parameters in net.minecraft.resource with type arguments of type ResourcePack Constructor Description ResourcePackProfile(String name, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, Text displayName, Text description, ResourcePackCompatibility compatibility, ResourcePackProfile.InsertionPosition direction, boolean pinned, ResourcePackSource source)
ResourcePackProfile(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourceType type, ResourcePackProfile.InsertionPosition direction, ResourcePackSource source)