Uses of Class
net.minecraft.resource.ResourcePackProfile
Packages that use ResourcePackProfile
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourcePackProfile in net.minecraft.client.gui.screen.pack
Fields in net.minecraft.client.gui.screen.pack declared as ResourcePackProfileModifier and TypeFieldDescriptionprivate final ResourcePackProfile
ResourcePackOrganizer.AbstractPack.profile
Fields in net.minecraft.client.gui.screen.pack with type parameters of type ResourcePackProfileModifier and TypeFieldDescription(package private) final List
<ResourcePackProfile> ResourcePackOrganizer.disabledPacks
(package private) final List
<ResourcePackProfile> ResourcePackOrganizer.enabledPacks
(package private) final Collection
<ResourcePackProfile> ExperimentalWarningScreen.enabledProfiles
(package private) final Function
<ResourcePackProfile, Identifier> ResourcePackOrganizer.iconIdSupplier
Methods in net.minecraft.client.gui.screen.pack that return types with arguments of type ResourcePackProfileModifier and TypeMethodDescriptionprotected abstract List
<ResourcePackProfile> ResourcePackOrganizer.AbstractPack.getCurrentList()
protected List
<ResourcePackProfile> ResourcePackOrganizer.DisabledPack.getCurrentList()
protected List
<ResourcePackProfile> ResourcePackOrganizer.EnabledPack.getCurrentList()
protected abstract List
<ResourcePackProfile> ResourcePackOrganizer.AbstractPack.getOppositeList()
protected List
<ResourcePackProfile> ResourcePackOrganizer.DisabledPack.getOppositeList()
protected List
<ResourcePackProfile> ResourcePackOrganizer.EnabledPack.getOppositeList()
Methods in net.minecraft.client.gui.screen.pack with parameters of type ResourcePackProfileModifier and TypeMethodDescriptionprivate Identifier
PackScreen.getPackIconTexture
(ResourcePackProfile resourcePackProfile) private Identifier
PackScreen.loadPackIcon
(TextureManager textureManager, ResourcePackProfile resourcePackProfile) Constructors in net.minecraft.client.gui.screen.pack with parameters of type ResourcePackProfileModifierConstructorDescriptionAbstractPack
(ResourcePackProfile profile) DisabledPack
(ResourcePackProfile profile) EnabledPack
(ResourcePackProfile profile) Constructor parameters in net.minecraft.client.gui.screen.pack with type arguments of type ResourcePackProfileModifierConstructorDescriptionExperimentalWarningScreen
(Collection<ResourcePackProfile> enabledProfiles, BooleanConsumer callback) PackListWidget
(MinecraftClient client, Collection<ResourcePackProfile> enabledProfiles) ResourcePackOrganizer
(Runnable updateCallback, Function<ResourcePackProfile, Identifier> iconIdSupplier, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier) -
Uses of ResourcePackProfile in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world with type parameters of type ResourcePackProfileModifier and TypeFieldDescriptionprivate final Object2BooleanMap
<ResourcePackProfile> ExperimentsScreen.experiments
Methods in net.minecraft.client.gui.screen.world with parameters of type ResourcePackProfileModifier and TypeMethodDescriptionprivate static Text
ExperimentsScreen.getDataPackName
(ResourcePackProfile packProfile) -
Uses of ResourcePackProfile in net.minecraft.client.resource
Methods in net.minecraft.client.resource that return ResourcePackProfileModifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfile
DefaultClientResourcePackProvider.create
(String fileName, ResourcePackProfile.PackFactory packFactory, Text displayName) protected @Nullable ResourcePackProfile
DefaultClientResourcePackProvider.createDefault
(ResourcePack pack) Method parameters in net.minecraft.client.resource with type arguments of type ResourcePackProfileModifier and TypeMethodDescriptionprotected void
DefaultClientResourcePackProvider.forEachProfile
(BiConsumer<String, Function<String, ResourcePackProfile>> consumer) -
Uses of ResourcePackProfile in net.minecraft.client.resource.server
Methods in net.minecraft.client.resource.server that return types with arguments of type ResourcePackProfileModifier and TypeMethodDescriptionprivate @Nullable List
<ResourcePackProfile> ServerResourcePackLoader.toProfiles
(List<ReloadScheduler.PackInfo> packs) Method parameters in net.minecraft.client.resource.server with type arguments of type ResourcePackProfileModifier and TypeMethodDescriptionprivate static ResourcePackProvider
ServerResourcePackLoader.getPackProvider
(List<ResourcePackProfile> serverPacks) -
Uses of ResourcePackProfile in net.minecraft.resource
Fields in net.minecraft.resource with type parameters of type ResourcePackProfileModifier and TypeFieldDescriptionprivate List
<ResourcePackProfile> ResourcePackManager.enabled
private Map
<String, ResourcePackProfile> ResourcePackManager.profiles
Methods in net.minecraft.resource that return ResourcePackProfileModifier and TypeMethodDescriptionstatic @Nullable ResourcePackProfile
ResourcePackProfile.create
(ResourcePackInfo info, ResourcePackProfile.PackFactory packFactory, ResourceType type, ResourcePackPosition position) protected @Nullable ResourcePackProfile
VanillaDataPackProvider.create
(String fileName, ResourcePackProfile.PackFactory packFactory, Text displayName) protected abstract @Nullable ResourcePackProfile
VanillaResourcePackProvider.create
(String fileName, ResourcePackProfile.PackFactory packFactory, Text displayName) protected @Nullable ResourcePackProfile
VanillaDataPackProvider.createDefault
(ResourcePack pack) protected abstract @Nullable ResourcePackProfile
VanillaResourcePackProvider.createDefault
(ResourcePack pack) ResourcePackManager.getProfile
(String id) Methods in net.minecraft.resource that return types with arguments of type ResourcePackProfileModifier and TypeMethodDescriptionprivate List
<ResourcePackProfile> ResourcePackManager.buildEnabledProfiles
(Collection<String> enabledNames) ResourcePackManager.getEnabledProfiles()
ResourcePackManager.getProfiles()
private Map
<String, ResourcePackProfile> ResourcePackManager.providePackProfiles()
private Stream
<ResourcePackProfile> ResourcePackManager.streamProfilesById
(Collection<String> ids) Method parameters in net.minecraft.resource with type arguments of type ResourcePackProfileModifier and TypeMethodDescriptionprotected void
VanillaResourcePackProvider.forEachProfile
(@Nullable Path namespacedPath, BiConsumer<String, Function<String, ResourcePackProfile>> consumer) protected void
VanillaResourcePackProvider.forEachProfile
(BiConsumer<String, Function<String, ResourcePackProfile>> consumer) private void
VanillaResourcePackProvider.forEachProfile
(Consumer<ResourcePackProfile> consumer) static String
ResourcePackManager.listPacks
(Collection<ResourcePackProfile> profiles) void
FileResourcePackProvider.register
(Consumer<ResourcePackProfile> profileAdder) Register resource pack profiles created with thefactory
to theprofileAdder
.void
ResourcePackProvider.register
(Consumer<ResourcePackProfile> profileAdder) Register resource pack profiles created with thefactory
to theprofileAdder
.void
VanillaResourcePackProvider.register
(Consumer<ResourcePackProfile> profileAdder) Register resource pack profiles created with thefactory
to theprofileAdder
. -
Uses of ResourcePackProfile in net.minecraft.server.command
Methods in net.minecraft.server.command that return ResourcePackProfileModifier and TypeMethodDescriptionprivate static ResourcePackProfile
DatapackCommand.getPackContainer
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, boolean enable) Methods in net.minecraft.server.command with parameters of type ResourcePackProfileModifier and TypeMethodDescriptionvoid
DatapackCommand.PackAdder.apply
(List<ResourcePackProfile> profiles, ResourcePackProfile profile) private static int
DatapackCommand.executeDisable
(ServerCommandSource source, ResourcePackProfile container) private static int
DatapackCommand.executeEnable
(ServerCommandSource source, ResourcePackProfile container, DatapackCommand.PackAdder packAdder) Method parameters in net.minecraft.server.command with type arguments of type ResourcePackProfileModifier and TypeMethodDescriptionvoid
DatapackCommand.PackAdder.apply
(List<ResourcePackProfile> profiles, ResourcePackProfile profile)