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 ResourcePackProfileResourcePackOrganizer.AbstractPack.profileFields 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.iconIdSupplierMethods 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 IdentifierPackScreen.getPackIconTexture(ResourcePackProfile resourcePackProfile) private IdentifierPackScreen.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.resource
Fields in net.minecraft.client.resource declared as ResourcePackProfileModifier and TypeFieldDescriptionprivate @Nullable ResourcePackProfileServerResourcePackProvider.serverContainerMethods in net.minecraft.client.resource that return ResourcePackProfileModifier and TypeMethodDescriptionprotected @Nullable ResourcePackProfileDefaultClientResourcePackProvider.create(String name, ResourcePackProfile.PackFactory packFactory, Text displayName) protected @Nullable ResourcePackProfileDefaultClientResourcePackProvider.createDefault(ResourcePack pack) Method parameters in net.minecraft.client.resource with type arguments of type ResourcePackProfileModifier and TypeMethodDescriptionprotected voidDefaultClientResourcePackProvider.forEachProfile(BiConsumer<String, Function<String, ResourcePackProfile>> consumer) voidServerResourcePackProvider.register(Consumer<ResourcePackProfile> profileAdder) Register resource pack profiles created with thefactoryto theprofileAdder. -
Uses of ResourcePackProfile in net.minecraft.resource
Fields in net.minecraft.resource with type parameters of type ResourcePackProfileModifier and TypeFieldDescriptionprivate List<ResourcePackProfile>ResourcePackManager.enabledprivate Map<String,ResourcePackProfile> ResourcePackManager.profilesMethods in net.minecraft.resource that return ResourcePackProfileModifier and TypeMethodDescriptionstatic @Nullable ResourcePackProfileResourcePackProfile.create(String name, Text displayName, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, ResourceType type, ResourcePackProfile.InsertionPosition position, ResourcePackSource source) protected @Nullable ResourcePackProfileVanillaDataPackProvider.create(String name, ResourcePackProfile.PackFactory packFactory, Text displayName) protected abstract @Nullable ResourcePackProfileVanillaResourcePackProvider.create(String name, ResourcePackProfile.PackFactory packFactory, Text displayName) protected @Nullable ResourcePackProfileVanillaDataPackProvider.createDefault(ResourcePack pack) protected abstract @Nullable ResourcePackProfileVanillaResourcePackProvider.createDefault(ResourcePack pack) ResourcePackManager.getProfile(String name) static ResourcePackProfileResourcePackProfile.of(String name, Text displayName, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, ResourcePackProfile.Metadata metadata, ResourceType type, ResourcePackProfile.InsertionPosition position, boolean pinned, ResourcePackSource source) Creates a resource pack profile from the given parameters.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.streamProfilesByName(Collection<String> names) Method parameters in net.minecraft.resource with type arguments of type ResourcePackProfileModifier and TypeMethodDescriptionprotected voidVanillaResourcePackProvider.forEachProfile(@Nullable Path namespacedPath, BiConsumer<String, Function<String, ResourcePackProfile>> consumer) protected voidVanillaResourcePackProvider.forEachProfile(BiConsumer<String, Function<String, ResourcePackProfile>> consumer) private voidVanillaResourcePackProvider.forEachProfile(Consumer<ResourcePackProfile> consumer) <T> intResourcePackProfile.InsertionPosition.insert(List<T> items, T item, Function<T, ResourcePackProfile> profileGetter, boolean listInverted) voidFileResourcePackProvider.register(Consumer<ResourcePackProfile> profileAdder) Register resource pack profiles created with thefactoryto theprofileAdder.voidResourcePackProvider.register(Consumer<ResourcePackProfile> profileAdder) Register resource pack profiles created with thefactoryto theprofileAdder.voidVanillaResourcePackProvider.register(Consumer<ResourcePackProfile> profileAdder) Register resource pack profiles created with thefactoryto theprofileAdder. -
Uses of ResourcePackProfile in net.minecraft.server.command
Methods in net.minecraft.server.command that return ResourcePackProfileModifier and TypeMethodDescriptionprivate static ResourcePackProfileDatapackCommand.getPackContainer(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, boolean enable) Methods in net.minecraft.server.command with parameters of type ResourcePackProfileModifier and TypeMethodDescriptionvoidDatapackCommand.PackAdder.apply(List<ResourcePackProfile> profiles, ResourcePackProfile profile) private static intDatapackCommand.executeDisable(ServerCommandSource source, ResourcePackProfile container) private static intDatapackCommand.executeEnable(ServerCommandSource source, ResourcePackProfile container, DatapackCommand.PackAdder packAdder) Method parameters in net.minecraft.server.command with type arguments of type ResourcePackProfileModifier and TypeMethodDescriptionvoidDatapackCommand.PackAdder.apply(List<ResourcePackProfile> profiles, ResourcePackProfile profile)