Uses of Class
net.minecraft.resource.ResourcePackProfile
Package | Description |
---|---|
net.minecraft.client | |
net.minecraft.client.gui.screen.pack | |
net.minecraft.client.resource | |
net.minecraft.resource |
Provides resources to Minecraft, including resource access and provision.
|
net.minecraft.server.command |
-
Uses of ResourcePackProfile in net.minecraft.client
Methods in net.minecraft.client that return ResourcePackProfile Modifier and Type Method Description private static ResourcePackProfile
MinecraftClient. createResourcePackProfile(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> supplier, PackResourceMetadata metadata, ResourcePackProfile.InsertionPosition insertionPosition, ResourcePackSource source)
-
Uses of ResourcePackProfile in net.minecraft.client.gui.screen.pack
Fields in net.minecraft.client.gui.screen.pack declared as ResourcePackProfile Modifier and Type Field Description private ResourcePackProfile
ResourcePackOrganizer.AbstractPack. profile
Fields in net.minecraft.client.gui.screen.pack with type parameters of type ResourcePackProfile Modifier and Type Field Description private List<ResourcePackProfile>
ResourcePackOrganizer. disabledPacks
private List<ResourcePackProfile>
ResourcePackOrganizer. enabledPacks
private Function<ResourcePackProfile,Identifier>
ResourcePackOrganizer. field_25785
Methods in net.minecraft.client.gui.screen.pack that return types with arguments of type ResourcePackProfile Modifier and Type Method Description protected 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 ResourcePackProfile Modifier and Type Method Description private 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 ResourcePackProfile Constructor Description AbstractPack(ResourcePackProfile profile)
DisabledPack(ResourcePackProfile profile)
EnabledPack(ResourcePackProfile profile)
Constructor parameters in net.minecraft.client.gui.screen.pack with type arguments of type ResourcePackProfile Constructor Description ResourcePackOrganizer(Runnable updateCallback, Function<ResourcePackProfile,Identifier> function, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> consumer)
-
Uses of ResourcePackProfile in net.minecraft.client.resource
Fields in net.minecraft.client.resource declared as ResourcePackProfile Modifier and Type Field Description private @Nullable ResourcePackProfile
ClientBuiltinResourcePackProvider. serverContainer
Methods in net.minecraft.client.resource that return ResourcePackProfile Modifier and Type Method Description private @Nullable ResourcePackProfile
ClientBuiltinResourcePackProvider. getProgrammerArtResourcePackProfile(ResourcePackProfile.Factory factory)
private static @Nullable ResourcePackProfile
ClientBuiltinResourcePackProvider. getProgrammerArtResourcePackProfile(ResourcePackProfile.Factory factory, Supplier<ResourcePack> packSupplier)
Method parameters in net.minecraft.client.resource with type arguments of type ResourcePackProfile Modifier and Type Method Description void
ClientBuiltinResourcePackProvider. register(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory)
Register resource pack profiles created with thefactory
to theprofileAdder
. -
Uses of ResourcePackProfile in net.minecraft.resource
Fields in net.minecraft.resource with type parameters of type ResourcePackProfile Modifier and Type Field Description private List<ResourcePackProfile>
ResourcePackManager. enabled
private Map<String,ResourcePackProfile>
ResourcePackManager. profiles
Methods in net.minecraft.resource that return ResourcePackProfile Modifier and Type Method Description @Nullable ResourcePackProfile
ResourcePackProfile.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.@Nullable ResourcePackProfile
ResourcePackManager. getProfile(String name)
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.Methods in net.minecraft.resource that return types with arguments of type ResourcePackProfile Modifier and Type Method Description private List<ResourcePackProfile>
ResourcePackManager. buildEnabledProfiles(Collection<String> enabledNames)
Collection<ResourcePackProfile>
ResourcePackManager. getEnabledProfiles()
Collection<ResourcePackProfile>
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 ResourcePackProfile Modifier and Type Method Description <T> int
ResourcePackProfile.InsertionPosition. insert(List<T> items, T item, Function<T,ResourcePackProfile> profileGetter, boolean listInverted)
void
FileResourcePackProvider. register(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory)
Register resource pack profiles created with thefactory
to theprofileAdder
.void
ResourcePackProvider. register(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory)
Register resource pack profiles created with thefactory
to theprofileAdder
.void
VanillaDataPackProvider. register(Consumer<ResourcePackProfile> profileAdder, ResourcePackProfile.Factory factory)
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 ResourcePackProfile Modifier and Type Method Description private 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 ResourcePackProfile Modifier and Type Method Description void
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 ResourcePackProfile Modifier and Type Method Description void
DatapackCommand.PackAdder. apply(List<ResourcePackProfile> profiles, ResourcePackProfile profile)