Uses of Interface
net.minecraft.resource.ResourcePackSource
Package
Description
Provides resources to Minecraft, including resource access and provision.
-
Uses of ResourcePackSource in net.minecraft.client
Modifier and TypeMethodDescriptionprivate static ResourcePackProfile
MinecraftClient.createResourcePackProfile
(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition insertionPosition, ResourcePackSource source) -
Uses of ResourcePackSource in net.minecraft.client.gui.screen.pack
-
Uses of ResourcePackSource in net.minecraft.client.resource
Modifier and TypeMethodDescriptionClientBuiltinResourcePackProvider.loadServerPack
(File packZip, ResourcePackSource packSource) -
Uses of ResourcePackSource in net.minecraft.resource
Modifier and TypeFieldDescriptionstatic final ResourcePackSource
ResourcePackSource.PACK_SOURCE_BUILTIN
static final ResourcePackSource
ResourcePackSource.PACK_SOURCE_NONE
static final ResourcePackSource
ResourcePackSource.PACK_SOURCE_SERVER
static final ResourcePackSource
ResourcePackSource.PACK_SOURCE_WORLD
private final ResourcePackSource
FileResourcePackProvider.source
private final ResourcePackSource
ResourcePackProfile.source
Modifier and TypeMethodDescriptionResourcePackProfile.getSource()
static ResourcePackSource
ResourcePackSource.nameAndSource
(String source) static ResourcePackSource
ResourcePackSource.onlyName()
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.ModifierConstructorDescriptionFileResourcePackProvider
(File packsFolder, ResourcePackSource source) 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)