Modifier and Type | Class and Description |
---|---|
class |
ClientResourcePackInfo |
Modifier and Type | Method and Description |
---|---|
<T extends ResourcePackInfo> |
DownloadingPackFinder.addPackInfosToMap(java.util.Map<java.lang.String,T> nameToPackMap,
ResourcePackInfo.IFactory<T> packInfoFactory) |
Modifier and Type | Method and Description |
---|---|
private static ResourcePackInfo |
DataPackCommand.parsePackInfo(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name,
boolean enabling) |
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 source,
ResourcePackInfo pack) |
private static int |
DataPackCommand.enablePack(CommandSource source,
ResourcePackInfo pack,
DataPackCommand.IHandler priorityCallback) |
Modifier and Type | Method and Description |
---|---|
void |
DataPackCommand.IHandler.apply(java.util.List<ResourcePackInfo> p_apply_1_,
ResourcePackInfo p_apply_2_) |
Modifier and Type | Interface and Description |
---|---|
static interface |
ResourcePackInfo.IFactory<T extends ResourcePackInfo> |
class |
ResourcePackList<T extends ResourcePackInfo> |
Modifier and Type | Method and Description |
---|---|
<T extends ResourcePackInfo> |
IPackFinder.addPackInfosToMap(java.util.Map<java.lang.String,T> nameToPackMap,
ResourcePackInfo.IFactory<T> packInfoFactory) |
<T extends ResourcePackInfo> |
FolderPackFinder.addPackInfosToMap(java.util.Map<java.lang.String,T> nameToPackMap,
ResourcePackInfo.IFactory<T> packInfoFactory) |
<T extends ResourcePackInfo> |
ServerPackFinder.addPackInfosToMap(java.util.Map<java.lang.String,T> nameToPackMap,
ResourcePackInfo.IFactory<T> packInfoFactory) |
static <T extends ResourcePackInfo> |
ResourcePackInfo.createResourcePack(java.lang.String nameIn,
boolean p_195793_1_,
java.util.function.Supplier<IResourcePack> p_195793_2_,
ResourcePackInfo.IFactory<T> factory,
ResourcePackInfo.Priority p_195793_4_) |
<T,P extends ResourcePackInfo> |
ResourcePackInfo.Priority.insert(java.util.List<T> p_198993_1_,
T p_198993_2_,
java.util.function.Function<T,P> p_198993_3_,
boolean p_198993_4_) |
Modifier and Type | Field and Description |
---|---|
private ResourcePackList<ResourcePackInfo> |
MinecraftServer.resourcePacks |
Modifier and Type | Method and Description |
---|---|
ResourcePackList<ResourcePackInfo> |
MinecraftServer.getResourcePacks() |
Modifier and Type | Method and Description |
---|---|
private static <T extends ResourcePackInfo> |
ClientModLoader.buildPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks,
java.util.function.BiConsumer<? super ModFileResourcePack,? super T> packSetter) |
private static <T extends ResourcePackInfo> |
ClientModLoader.clientPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks,
java.util.function.BiConsumer<? super ModFileResourcePack,? super T> packSetter,
java.util.Map<java.lang.String,T> packList,
ResourcePackInfo.IFactory<? extends T> factory) |
Modifier and Type | Interface and Description |
---|---|
static interface |
ResourcePackLoader.IPackInfoFinder<T extends ResourcePackInfo> |
Modifier and Type | Field and Description |
---|---|
private ResourcePackInfo |
ModFileResourcePack.packInfo |
Modifier and Type | Method and Description |
---|---|
<T extends ResourcePackInfo> |
ResourcePackLoader.LambdaFriendlyPackFinder.addPackInfosToMap(java.util.Map<java.lang.String,T> packList,
ResourcePackInfo.IFactory<T> factory) |
(package private) <T extends ResourcePackInfo> |
ModFileResourcePack.getPackInfo() |
static <T extends ResourcePackInfo> |
ResourcePackLoader.loadResourcePacks(ResourcePackList<T> resourcePacks,
java.util.function.BiFunction<java.util.Map<ModFile,? extends ModFileResourcePack>,java.util.function.BiConsumer<? super ModFileResourcePack,T>,ResourcePackLoader.IPackInfoFinder> packFinder) |
(package private) <T extends ResourcePackInfo> |
ModFileResourcePack.setPackInfo(T packInfo) |
Modifier and Type | Method and Description |
---|---|
private static <T extends ResourcePackInfo> |
ServerLifecycleHooks.buildPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks,
java.util.function.BiConsumer<? super ModFileResourcePack,? super T> packSetter) |
private static <T extends ResourcePackInfo> |
ServerLifecycleHooks.serverPackFinder(java.util.Map<ModFile,? extends ModFileResourcePack> modResourcePacks,
java.util.function.BiConsumer<? super ModFileResourcePack,? super T> packSetter,
java.util.Map<java.lang.String,T> packList,
ResourcePackInfo.IFactory<? extends T> factory) |