Uses of Class
net.minecraft.resources.ResourcePackInfo
-
-
Uses of ResourcePackInfo in net.minecraft.client
Methods in net.minecraft.client that return ResourcePackInfo Modifier and Type Method Description private static ResourcePackInfo
Minecraft. createClientPackAdapter(java.lang.String p_228011_0_, boolean p_228011_1_, java.util.function.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
Fields in net.minecraft.client.gui.screen declared as ResourcePackInfo Modifier and Type Field Description private ResourcePackInfo
PackLoadingManager.AbstractPack. pack
Fields in net.minecraft.client.gui.screen with type parameters of type ResourcePackInfo Modifier and Type Field Description private java.util.function.Function<ResourcePackInfo,ResourceLocation>
PackLoadingManager. iconGetter
private java.util.List<ResourcePackInfo>
PackLoadingManager. selected
private java.util.List<ResourcePackInfo>
PackLoadingManager. unselected
Methods in net.minecraft.client.gui.screen that return types with arguments of type ResourcePackInfo Modifier and Type Method Description protected abstract java.util.List<ResourcePackInfo>
PackLoadingManager.AbstractPack. getOtherList()
protected java.util.List<ResourcePackInfo>
PackLoadingManager.DisabledPack. getOtherList()
protected java.util.List<ResourcePackInfo>
PackLoadingManager.EnabledPack. getOtherList()
protected abstract java.util.List<ResourcePackInfo>
PackLoadingManager.AbstractPack. getSelfList()
protected java.util.List<ResourcePackInfo>
PackLoadingManager.DisabledPack. getSelfList()
protected java.util.List<ResourcePackInfo>
PackLoadingManager.EnabledPack. getSelfList()
Methods in net.minecraft.client.gui.screen with parameters of type ResourcePackInfo Modifier and Type Method Description private ResourceLocation
PackScreen. getPackIcon(ResourcePackInfo p_243395_1_)
private ResourceLocation
PackScreen. loadPackIcon(TextureManager p_243397_1_, ResourcePackInfo p_243397_2_)
Constructors in net.minecraft.client.gui.screen with parameters of type ResourcePackInfo Constructor Description AbstractPack(ResourcePackInfo p_i232297_2_)
DisabledPack(ResourcePackInfo p_i232299_2_)
EnabledPack(ResourcePackInfo p_i232298_2_)
Constructor parameters in net.minecraft.client.gui.screen with type arguments of type ResourcePackInfo Constructor Description PackLoadingManager(java.lang.Runnable p_i242059_1_, java.util.function.Function<ResourcePackInfo,ResourceLocation> p_i242059_2_, ResourcePackList p_i242059_3_, java.util.function.Consumer<ResourcePackList> p_i242059_4_)
-
Uses of ResourcePackInfo in net.minecraft.client.resources
Fields in net.minecraft.client.resources declared as ResourcePackInfo Modifier and Type Field Description private ResourcePackInfo
DownloadingPackFinder. serverPack
Methods in net.minecraft.client.resources that return ResourcePackInfo Modifier and Type Method Description private ResourcePackInfo
DownloadingPackFinder. createProgrammerArtPack(ResourcePackInfo.IFactory p_239453_1_)
private static ResourcePackInfo
DownloadingPackFinder. createProgrammerArtPack(ResourcePackInfo.IFactory p_239454_0_, java.util.function.Supplier<IResourcePack> p_239454_1_)
Method parameters in net.minecraft.client.resources with type arguments of type ResourcePackInfo Modifier and Type Method Description void
DownloadingPackFinder. loadPacks(java.util.function.Consumer<ResourcePackInfo> p_230230_1_, ResourcePackInfo.IFactory p_230230_2_)
-
Uses of ResourcePackInfo in net.minecraft.command.impl
Methods in net.minecraft.command.impl that return ResourcePackInfo Modifier and Type Method Description private static ResourcePackInfo
DataPackCommand. getPack(com.mojang.brigadier.context.CommandContext<CommandSource> p_198303_0_, java.lang.String p_198303_1_, boolean p_198303_2_)
Methods in net.minecraft.command.impl with parameters of type ResourcePackInfo Modifier and Type Method Description void
DataPackCommand.IHandler. apply(java.util.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_)
Method parameters in net.minecraft.command.impl with type arguments of type ResourcePackInfo Modifier and Type Method Description void
DataPackCommand.IHandler. apply(java.util.List<ResourcePackInfo> p_apply_1_, ResourcePackInfo p_apply_2_)
-
Uses of ResourcePackInfo in net.minecraft.resources
Fields in net.minecraft.resources with type parameters of type ResourcePackInfo Modifier and Type Field Description private java.util.Map<java.lang.String,ResourcePackInfo>
ResourcePackList. available
private java.util.List<ResourcePackInfo>
ResourcePackList. selected
Methods in net.minecraft.resources that return ResourcePackInfo Modifier and Type Method Description static ResourcePackInfo
ResourcePackInfo. create(java.lang.String p_195793_0_, boolean p_195793_1_, java.util.function.Supplier<IResourcePack> p_195793_2_, ResourcePackInfo.IFactory p_195793_3_, ResourcePackInfo.Priority p_195793_4_, IPackNameDecorator p_195793_5_)
ResourcePackInfo
ResourcePackInfo.IFactory. create(java.lang.String p_create_1_, boolean p_create_2_, java.util.function.Supplier<IResourcePack> p_create_3_, IResourcePack p_create_4_, PackMetadataSection p_create_5_, ResourcePackInfo.Priority p_create_6_, IPackNameDecorator p_create_7_)
ResourcePackInfo
ResourcePackList. getPack(java.lang.String p_198981_1_)
Methods in net.minecraft.resources that return types with arguments of type ResourcePackInfo Modifier and Type Method Description private java.util.Map<java.lang.String,ResourcePackInfo>
ResourcePackList. discoverAvailable()
java.util.Collection<ResourcePackInfo>
ResourcePackList. getAvailablePacks()
private java.util.stream.Stream<ResourcePackInfo>
ResourcePackList. getAvailablePacks(java.util.Collection<java.lang.String> p_232620_1_)
java.util.Collection<ResourcePackInfo>
ResourcePackList. getSelectedPacks()
private java.util.List<ResourcePackInfo>
ResourcePackList. rebuildSelected(java.util.Collection<java.lang.String> p_232618_1_)
Method parameters in net.minecraft.resources with type arguments of type ResourcePackInfo Modifier and Type Method Description <T> int
ResourcePackInfo.Priority. insert(java.util.List<T> p_198993_1_, T p_198993_2_, java.util.function.Function<T,ResourcePackInfo> p_198993_3_, boolean p_198993_4_)
void
FolderPackFinder. loadPacks(java.util.function.Consumer<ResourcePackInfo> p_230230_1_, ResourcePackInfo.IFactory p_230230_2_)
void
IPackFinder. loadPacks(java.util.function.Consumer<ResourcePackInfo> p_230230_1_, ResourcePackInfo.IFactory p_230230_2_)
void
ServerPackFinder. loadPacks(java.util.function.Consumer<ResourcePackInfo> p_230230_1_, ResourcePackInfo.IFactory p_230230_2_)
-
Uses of ResourcePackInfo in net.minecraftforge.fml.client
Method parameters in net.minecraftforge.fml.client with type arguments of type ResourcePackInfo Modifier and Type Method Description private static ResourcePackLoader.IPackInfoFinder
ClientModLoader. buildPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks, java.util.function.BiConsumer<? super ModFileResourcePack,ResourcePackInfo> packSetter)
private static void
ClientModLoader. clientPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks, java.util.function.BiConsumer<? super ModFileResourcePack,ResourcePackInfo> packSetter, java.util.function.Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory)
private static void
ClientModLoader. clientPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks, java.util.function.BiConsumer<? super ModFileResourcePack,ResourcePackInfo> packSetter, java.util.function.Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory)
-
Uses of ResourcePackInfo in net.minecraftforge.fml.packs
Fields in net.minecraftforge.fml.packs declared as ResourcePackInfo Modifier and Type Field Description private ResourcePackInfo
ModFileResourcePack. packInfo
Methods in net.minecraftforge.fml.packs with type parameters of type ResourcePackInfo Modifier and Type Method Description (package private) <T extends ResourcePackInfo>
TModFileResourcePack. getPackInfo()
(package private) <T extends ResourcePackInfo>
voidModFileResourcePack. setPackInfo(T packInfo)
Method parameters in net.minecraftforge.fml.packs with type arguments of type ResourcePackInfo Modifier and Type Method Description void
ResourcePackLoader.IPackInfoFinder. addPackInfos(java.util.function.Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory)
void
ResourcePackLoader.LambdaFriendlyPackFinder. loadPacks(java.util.function.Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory)
static void
ResourcePackLoader. loadResourcePacks(ResourcePackList resourcePacks, java.util.function.BiFunction<java.util.Map<ModFile,? extends ModFileResourcePack>,java.util.function.BiConsumer<? super ModFileResourcePack,ResourcePackInfo>,ResourcePackLoader.IPackInfoFinder> packFinder)
-
Uses of ResourcePackInfo in net.minecraftforge.fml.server
Method parameters in net.minecraftforge.fml.server with type arguments of type ResourcePackInfo Modifier and Type Method Description static ResourcePackLoader.IPackInfoFinder
ServerLifecycleHooks. buildPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks, java.util.function.BiConsumer<? super ModFileResourcePack,ResourcePackInfo> packSetter)
Deprecated.private static void
ServerLifecycleHooks. serverPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks, java.util.function.BiConsumer<? super ModFileResourcePack,ResourcePackInfo> packSetter, java.util.function.Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory)
private static void
ServerLifecycleHooks. serverPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks, java.util.function.BiConsumer<? super ModFileResourcePack,ResourcePackInfo> packSetter, java.util.function.Consumer<ResourcePackInfo> consumer, ResourcePackInfo.IFactory factory)
-