Uses of Interface
net.minecraft.resource.ResourcePack
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourcePack in net.minecraft.client
Modifier and TypeMethodDescriptionprivate static Supplier<ResourcePack>
MinecraftClient.createV3ResourcePackFactory
(Supplier<ResourcePack> packFactory) private static Supplier<ResourcePack>
MinecraftClient.createV4ResourcePackFactory
(Supplier<ResourcePack> packFactory) Modifier and TypeMethodDescriptionprivate static ResourcePackProfile
MinecraftClient.createResourcePackProfile
(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, 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
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeFieldDescriptionprivate final ResourcePack
Format3ResourcePack.parent
private final ResourcePack
Format4ResourcePack.parent
Modifier and TypeMethodDescriptionprivate static ResourcePack
ClientBuiltinResourcePackProvider.getProgrammerArtResourcePackFromZipFile
(File zipFile) Modifier and TypeMethodDescriptionprivate static @Nullable ResourcePackProfile
ClientBuiltinResourcePackProvider.getProgrammerArtResourcePackProfile
(ResourcePackProfile.Factory factory, Supplier<ResourcePack> packSupplier) void
ResourceReloadLogger.reload
(ResourceReloadLogger.ReloadReason reason, List<ResourcePack> packs) ModifierConstructorDescriptionFormat3ResourcePack
(ResourcePack parent, Map<Identifier, Identifier> idMap) Format4ResourcePack
(ResourcePack parent) -
Uses of ResourcePack in net.minecraft.client.resource.language
Modifier and TypeMethodDescriptionprivate static Map<String,
LanguageDefinition> LanguageManager.loadAvailableLanguages
(Stream<ResourcePack> packs) -
Uses of ResourcePack in net.minecraft.resource
Modifier and TypeClassDescriptionclass
class
class
class
Modifier and TypeFieldDescriptionprivate final ResourcePack
NamespaceResourceManager.Entry.pack
private final @Nullable ResourcePack
NamespaceResourceManager.FilterablePack.underlying
The field for theunderlying
record component.Modifier and TypeFieldDescriptionprivate final Supplier<ResourcePack>
ResourcePackProfile.packFactory
private final List<ResourcePack>
LifecycledResourceManagerImpl.packs
Modifier and TypeMethodDescriptionResourcePackProfile.createResourcePack()
NamespaceResourceManager.FilterablePack.underlying()
Returns the value of theunderlying
record component.Modifier and TypeMethodDescriptionprivate Supplier<ResourcePack>
FileResourcePackProvider.createResourcePack
(File file) ResourcePackManager.createResourcePacks()
LifecycledResourceManagerImpl.streamResourcePacks()
Gets a stream of loaded resource packs in increasing order of priority.NamespaceResourceManager.streamResourcePacks()
Gets a stream of loaded resource packs in increasing order of priority.ReloadableResourceManagerImpl.streamResourcePacks()
Gets a stream of loaded resource packs in increasing order of priority.ResourceManager.Empty.streamResourcePacks()
Gets a stream of loaded resource packs in increasing order of priority.ResourceManager.streamResourcePacks()
Gets a stream of loaded resource packs in increasing order of priority.Modifier and TypeMethodDescriptionprivate void
NamespaceResourceManager.addPack
(String name, @Nullable ResourcePack underlyingPack, @Nullable Predicate<Identifier> filter) void
NamespaceResourceManager.addPack
(ResourcePack pack) void
NamespaceResourceManager.addPack
(ResourcePack pack, Predicate<Identifier> filter) (package private) Resource.InputSupplier<InputStream>
NamespaceResourceManager.createOpener
(Identifier id, ResourcePack pack) private @Nullable ResourceFilter
LifecycledResourceManagerImpl.parseResourceFilter
(ResourcePack pack) Modifier and TypeMethodDescriptionResourcePackProfile.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.ReloadableResourceManagerImpl.reload
(Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, List<ResourcePack> packs) Swaps the active resource manager with another one backed by the givenpacks
and start a reload.ModifierConstructorDescription(package private)
Entry
(Identifier id, Identifier metadataId, ResourcePack pack) (package private)
FilterablePack
(String string, @Nullable ResourcePack resourcePack, @Nullable Predicate<Identifier> predicate) ModifierConstructorDescriptionLifecycledResourceManagerImpl
(ResourceType type, List<ResourcePack> packs) 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)