Modifier and Type | Method and 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_) |
Modifier and Type | Field and Description |
---|---|
private ResourcePackInfo |
PackLoadingManager.AbstractPack.pack |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<ResourcePackInfo,ResourceLocation> |
PackLoadingManager.iconGetter |
private java.util.List<ResourcePackInfo> |
PackLoadingManager.selected |
private java.util.List<ResourcePackInfo> |
PackLoadingManager.unselected |
Modifier and Type | Method and 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() |
Modifier and Type | Method and Description |
---|---|
private ResourceLocation |
PackScreen.getPackIcon(ResourcePackInfo p_243395_1_) |
private ResourceLocation |
PackScreen.loadPackIcon(TextureManager p_243397_1_,
ResourcePackInfo p_243397_2_) |
Constructor and Description |
---|
AbstractPack(ResourcePackInfo p_i232297_2_) |
DisabledPack(ResourcePackInfo p_i232299_2_) |
EnabledPack(ResourcePackInfo p_i232298_2_) |
Constructor and 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_) |
Modifier and Type | Field and Description |
---|---|
private ResourcePackInfo |
DownloadingPackFinder.serverPack |
Modifier and Type | Method and 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_) |
Modifier and Type | Method and Description |
---|---|
void |
DownloadingPackFinder.loadPacks(java.util.function.Consumer<ResourcePackInfo> p_230230_1_,
ResourcePackInfo.IFactory p_230230_2_) |
Modifier and Type | Method and 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_) |
Modifier and Type | Method and 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_) |
Modifier and Type | Method and Description |
---|---|
void |
DataPackCommand.IHandler.apply(java.util.List<ResourcePackInfo> p_apply_1_,
ResourcePackInfo p_apply_2_) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,ResourcePackInfo> |
ResourcePackList.available |
private java.util.List<ResourcePackInfo> |
ResourcePackList.selected |
Modifier and Type | Method and Description |
---|---|
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_) |
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 |
ResourcePackList.getPack(java.lang.String p_198981_1_) |
Modifier and Type | Method and 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_) |
Modifier and Type | Method and 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_) |
Modifier and Type | Method and 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) |
Modifier and Type | Field and Description |
---|---|
private ResourcePackInfo |
ModFileResourcePack.packInfo |
Modifier and Type | Method and Description |
---|---|
(package private) <T extends ResourcePackInfo> |
ModFileResourcePack.getPackInfo() |
(package private) <T extends ResourcePackInfo> |
ModFileResourcePack.setPackInfo(T packInfo) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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) |