Uses of Class
net.minecraft.resources.ResourcePackInfo
Package
Description
-
Uses of ResourcePackInfo in net.minecraft.client
Modifier and TypeMethodDescriptionprivate static ResourcePackInfo
Minecraft.createClientPackAdapter
(String p_228011_0_, boolean p_228011_1_, Supplier<IResourcePack> p_228011_2_, IResourcePack p_228011_3_, PackMetadataSection p_228011_4_, ResourcePackInfo.Priority p_228011_5_, IPackNameDecorator p_228011_6_) -
Uses of ResourcePackInfo in net.minecraft.client.gui.screen
Modifier and TypeFieldDescriptionprivate final ResourcePackInfo
PackLoadingManager.AbstractPack.pack
Modifier and TypeFieldDescriptionprivate final Function<ResourcePackInfo,
ResourceLocation> PackLoadingManager.iconGetter
private final List<ResourcePackInfo>
PackLoadingManager.selected
private final List<ResourcePackInfo>
PackLoadingManager.unselected
Modifier and TypeMethodDescriptionprotected abstract List<ResourcePackInfo>
PackLoadingManager.AbstractPack.getOtherList()
protected List<ResourcePackInfo>
PackLoadingManager.DisabledPack.getOtherList()
protected List<ResourcePackInfo>
PackLoadingManager.EnabledPack.getOtherList()
protected abstract List<ResourcePackInfo>
PackLoadingManager.AbstractPack.getSelfList()
protected List<ResourcePackInfo>
PackLoadingManager.DisabledPack.getSelfList()
protected List<ResourcePackInfo>
PackLoadingManager.EnabledPack.getSelfList()
Modifier and TypeMethodDescriptionprivate ResourceLocation
PackScreen.getPackIcon
(ResourcePackInfo p_243395_1_) private ResourceLocation
PackScreen.loadPackIcon
(TextureManager p_243397_1_, ResourcePackInfo p_243397_2_) ModifierConstructorDescriptionAbstractPack
(ResourcePackInfo p_i232297_2_) DisabledPack
(ResourcePackInfo p_i232299_2_) EnabledPack
(ResourcePackInfo p_i232298_2_) ModifierConstructorDescriptionPackLoadingManager
(Runnable p_i242059_1_, Function<ResourcePackInfo, ResourceLocation> p_i242059_2_, ResourcePackList p_i242059_3_, Consumer<ResourcePackList> p_i242059_4_) -
Uses of ResourcePackInfo in net.minecraft.client.resources
Modifier and TypeMethodDescriptionprivate ResourcePackInfo
DownloadingPackFinder.createProgrammerArtPack
(ResourcePackInfo.IFactory p_239453_1_) private static ResourcePackInfo
DownloadingPackFinder.createProgrammerArtPack
(ResourcePackInfo.IFactory p_239454_0_, Supplier<IResourcePack> p_239454_1_) Modifier and TypeMethodDescriptionvoid
DownloadingPackFinder.loadPacks
(Consumer<ResourcePackInfo> p_230230_1_, ResourcePackInfo.IFactory p_230230_2_) -
Uses of ResourcePackInfo in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static ResourcePackInfo
DataPackCommand.getPack
(com.mojang.brigadier.context.CommandContext<CommandSource> p_198303_0_, String p_198303_1_, boolean p_198303_2_) Modifier and TypeMethodDescriptionvoid
DataPackCommand.IHandler.apply
(List<ResourcePackInfo> p_apply_1_, ResourcePackInfo p_apply_2_) private static int
DataPackCommand.disablePack
(CommandSource p_198312_0_, ResourcePackInfo p_198312_1_) private static int
DataPackCommand.enablePack
(CommandSource p_198297_0_, ResourcePackInfo p_198297_1_, DataPackCommand.IHandler p_198297_2_) Modifier and TypeMethodDescriptionvoid
DataPackCommand.IHandler.apply
(List<ResourcePackInfo> p_apply_1_, ResourcePackInfo p_apply_2_) -
Uses of ResourcePackInfo in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate Map<String,
ResourcePackInfo> ResourcePackList.available
private List<ResourcePackInfo>
ResourcePackList.selected
Modifier and TypeMethodDescriptionstatic ResourcePackInfo
ResourcePackInfo.create
(String p_195793_0_, boolean p_195793_1_, Supplier<IResourcePack> p_195793_2_, ResourcePackInfo.IFactory p_195793_3_, ResourcePackInfo.Priority p_195793_4_, IPackNameDecorator p_195793_5_) ResourcePackInfo.IFactory.create
(String p_create_1_, boolean p_create_2_, Supplier<IResourcePack> p_create_3_, IResourcePack p_create_4_, PackMetadataSection p_create_5_, ResourcePackInfo.Priority p_create_6_, IPackNameDecorator p_create_7_) Modifier and TypeMethodDescriptionprivate Map<String,
ResourcePackInfo> ResourcePackList.discoverAvailable()
ResourcePackList.getAvailablePacks()
private Stream<ResourcePackInfo>
ResourcePackList.getAvailablePacks
(Collection<String> p_232620_1_) ResourcePackList.getSelectedPacks()
private List<ResourcePackInfo>
ResourcePackList.rebuildSelected
(Collection<String> p_232618_1_) Modifier and TypeMethodDescription<T> int
ResourcePackInfo.Priority.insert
(List<T> p_198993_1_, T p_198993_2_, Function<T, ResourcePackInfo> p_198993_3_, boolean p_198993_4_) void
FolderPackFinder.loadPacks
(Consumer<ResourcePackInfo> p_230230_1_, ResourcePackInfo.IFactory p_230230_2_) void
IPackFinder.loadPacks
(Consumer<ResourcePackInfo> p_230230_1_, ResourcePackInfo.IFactory p_230230_2_) void
ServerPackFinder.loadPacks
(Consumer<ResourcePackInfo> p_230230_1_, ResourcePackInfo.IFactory p_230230_2_) -
Uses of ResourcePackInfo in net.minecraftforge.fml.client
Modifier and TypeMethodDescriptionprivate static ResourcePackLoader.IPackInfoFinder
ClientModLoader.buildPackFinder
(Map<ModFile, ? extends ModFileResourcePack> modResourcePacks, BiConsumer<? super ModFileResourcePack, ResourcePackInfo> packSetter) private static void
ClientModLoader.clientPackFinder
(Map<ModFile, ? extends ModFileResourcePack> modResourcePacks, BiConsumer<? super ModFileResourcePack, ResourcePackInfo> packSetter, Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory) private static void
ClientModLoader.clientPackFinder
(Map<ModFile, ? extends ModFileResourcePack> modResourcePacks, BiConsumer<? super ModFileResourcePack, ResourcePackInfo> packSetter, Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory) -
Uses of ResourcePackInfo in net.minecraftforge.fml.packs
Modifier and TypeMethodDescription(package private) <T extends ResourcePackInfo>
TModFileResourcePack.getPackInfo()
(package private) <T extends ResourcePackInfo>
voidModFileResourcePack.setPackInfo
(T packInfo) Modifier and TypeMethodDescriptionvoid
ResourcePackLoader.IPackInfoFinder.addPackInfos
(Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory) void
ResourcePackLoader.LambdaFriendlyPackFinder.loadPacks
(Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory) static void
ResourcePackLoader.loadResourcePacks
(ResourcePackList resourcePacks, BiFunction<Map<ModFile, ? extends ModFileResourcePack>, BiConsumer<? super ModFileResourcePack, ResourcePackInfo>, ResourcePackLoader.IPackInfoFinder> packFinder) -
Uses of ResourcePackInfo in net.minecraftforge.fml.server
Modifier and TypeMethodDescriptionServerLifecycleHooks.buildPackFinder
(Map<ModFile, ? extends ModFileResourcePack> modResourcePacks, BiConsumer<? super ModFileResourcePack, ResourcePackInfo> packSetter) Deprecated.private static void
ServerLifecycleHooks.serverPackFinder
(Map<ModFile, ? extends ModFileResourcePack> modResourcePacks, BiConsumer<? super ModFileResourcePack, ResourcePackInfo> packSetter, Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory) private static void
ServerLifecycleHooks.serverPackFinder
(Map<ModFile, ? extends ModFileResourcePack> modResourcePacks, BiConsumer<? super ModFileResourcePack, ResourcePackInfo> packSetter, Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory)