Uses of Interface
net.minecraft.resource.ResourcePack
Packages that use ResourcePack
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourcePack in net.minecraft.client
Methods in net.minecraft.client that return types with arguments of type ResourcePackModifier and TypeMethodDescriptionprivate 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 ResourcePackModifier and TypeMethodDescriptionprivate static ResourcePackProfileMinecraftClient.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
Classes in net.minecraft.client.resource that implement ResourcePackModifier and TypeClassDescriptionclassclassclassFields in net.minecraft.client.resource declared as ResourcePackModifier and TypeFieldDescriptionprivate final ResourcePackFormat3ResourcePack.parentprivate final ResourcePackFormat4ResourcePack.parentMethods in net.minecraft.client.resource that return ResourcePackModifier and TypeMethodDescriptionprivate static ResourcePackClientBuiltinResourcePackProvider.getProgrammerArtResourcePackFromZipFile(File zipFile) Method parameters in net.minecraft.client.resource with type arguments of type ResourcePackModifier and TypeMethodDescriptionprivate static @Nullable ResourcePackProfileClientBuiltinResourcePackProvider.getProgrammerArtResourcePackProfile(ResourcePackProfile.Factory factory, Supplier<ResourcePack> packSupplier) voidResourceReloadLogger.reload(ResourceReloadLogger.ReloadReason reason, List<ResourcePack> packs) Constructors in net.minecraft.client.resource with parameters of type ResourcePackModifierConstructorDescriptionFormat3ResourcePack(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 ResourcePackModifier and TypeMethodDescriptionprivate static Map<String,LanguageDefinition> LanguageManager.loadAvailableLanguages(Stream<ResourcePack> packs) -
Uses of ResourcePack in net.minecraft.resource
Classes in net.minecraft.resource that implement ResourcePackModifier and TypeClassDescriptionclassclassclassclassFields in net.minecraft.resource with type parameters of type ResourcePackModifier and TypeFieldDescriptionprivate final Supplier<ResourcePack>ResourcePackProfile.packFactoryprotected final List<ResourcePack>NamespaceResourceManager.packListprivate final List<ResourcePack>LifecycledResourceManagerImpl.packsMethods in net.minecraft.resource that return ResourcePackMethods in net.minecraft.resource that return types with arguments of type ResourcePackModifier 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.Methods in net.minecraft.resource with parameters of type ResourcePackModifier and TypeMethodDescriptionvoidNamespaceResourceManager.addPack(ResourcePack pack) protected InputStreamNamespaceResourceManager.open(Identifier id, ResourcePack pack) Method parameters in net.minecraft.resource with type arguments of type ResourcePackModifier 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 ResourcePackProfileResourcePackProfile.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 givenpacksand start a reload.Constructor parameters in net.minecraft.resource with type arguments of type ResourcePackModifierConstructorDescriptionLifecycledResourceManagerImpl(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)