Uses of Interface
net.minecraft.resource.ResourcePackSource
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourcePackSource in net.minecraft.client.gui.screen.pack
-
Uses of ResourcePackSource in net.minecraft.client.resource
Modifier and TypeMethodDescriptionServerResourcePackProvider.loadServerPack
(File packZip, ResourcePackSource packSource) -
Uses of ResourcePackSource in net.minecraft.resource
Modifier and TypeFieldDescriptionstatic final ResourcePackSource
ResourcePackSource.BUILTIN
static final ResourcePackSource
ResourcePackSource.FEATURE
static final ResourcePackSource
ResourcePackSource.NONE
static final ResourcePackSource
ResourcePackSource.SERVER
private final ResourcePackSource
FileResourcePackProvider.source
private final ResourcePackSource
ResourcePackProfile.source
static final ResourcePackSource
ResourcePackSource.WORLD
Modifier and TypeMethodDescriptionstatic ResourcePackSource
ResourcePackSource.create
(UnaryOperator<Text> sourceTextSupplier, boolean canBeEnabledLater) ResourcePackProfile.getSource()
Modifier and TypeMethodDescriptionstatic @Nullable ResourcePackProfile
ResourcePackProfile.create
(String name, Text displayName, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, ResourceType type, ResourcePackProfile.InsertionPosition position, ResourcePackSource source) static ResourcePackProfile
ResourcePackProfile.of
(String name, Text displayName, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, ResourcePackProfile.Metadata metadata, ResourcePackProfile.InsertionPosition position, boolean pinned, ResourcePackSource source) Creates a resource pack profile from the given parameters.ModifierConstructorDescriptionFileResourcePackProvider
(Path packsDir, ResourceType type, ResourcePackSource source, SymlinkFinder symlinkFinder) private
ResourcePackProfile
(String name, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, Text displayName, ResourcePackProfile.Metadata metadata, ResourcePackProfile.InsertionPosition position, boolean pinned, ResourcePackSource source)