Uses of Interface
net.minecraft.resource.ResourcePackSource
Packages that use ResourcePackSource
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourcePackSource in net.minecraft.client
Methods in net.minecraft.client with parameters of type ResourcePackSourceModifier and TypeMethodDescriptionprivate static ResourcePackProfileMinecraftClient.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
Methods in net.minecraft.client.gui.screen.pack that return ResourcePackSource -
Uses of ResourcePackSource in net.minecraft.client.resource
Methods in net.minecraft.client.resource with parameters of type ResourcePackSourceModifier and TypeMethodDescriptionClientBuiltinResourcePackProvider.loadServerPack(File packZip, ResourcePackSource packSource) -
Uses of ResourcePackSource in net.minecraft.resource
Fields in net.minecraft.resource declared as ResourcePackSourceModifier and TypeFieldDescriptionstatic final ResourcePackSourceResourcePackSource.PACK_SOURCE_BUILTINstatic final ResourcePackSourceResourcePackSource.PACK_SOURCE_NONEstatic final ResourcePackSourceResourcePackSource.PACK_SOURCE_SERVERstatic final ResourcePackSourceResourcePackSource.PACK_SOURCE_WORLDprivate final ResourcePackSourceFileResourcePackProvider.sourceprivate final ResourcePackSourceResourcePackProfile.sourceMethods in net.minecraft.resource that return ResourcePackSourceModifier and TypeMethodDescriptionResourcePackProfile.getSource()static ResourcePackSourceResourcePackSource.nameAndSource(String source) static ResourcePackSourceResourcePackSource.onlyName()Methods in net.minecraft.resource with parameters of type ResourcePackSourceModifier 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.Constructors in net.minecraft.resource with parameters of type ResourcePackSourceModifierConstructorDescriptionFileResourcePackProvider(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)