Uses of Class
net.minecraft.server.packs.repository.Pack
Package
Description
-
Uses of Pack in net.minecraft.client
Modifier and TypeMethodDescriptionprivate static Pack
Minecraft.createClientPackAdapter
(String p_167934_, Component p_167935_, boolean p_167936_, Supplier<PackResources> p_167937_, PackMetadataSection p_167938_, Pack.Position p_167939_, PackSource p_167940_, boolean hidden) -
Uses of Pack in net.minecraft.client.gui.screens.packs
Modifier and TypeFieldDescription(package private) final Function<Pack,
ResourceLocation> PackSelectionModel.iconGetter
PackSelectionModel.selected
PackSelectionModel.unselected
Modifier and TypeMethodDescriptionPackSelectionModel.EntryBase.getOtherList()
PackSelectionModel.SelectedPackEntry.getOtherList()
PackSelectionModel.UnselectedPackEntry.getOtherList()
PackSelectionModel.EntryBase.getSelfList()
PackSelectionModel.SelectedPackEntry.getSelfList()
PackSelectionModel.UnselectedPackEntry.getSelfList()
Modifier and TypeMethodDescriptionprivate ResourceLocation
PackSelectionScreen.getPackIcon
(Pack p_99990_) private ResourceLocation
PackSelectionScreen.loadPackIcon
(TextureManager p_100017_, Pack p_100018_) ModifierConstructorDescriptionSelectedPackEntry
(Pack p_99954_) UnselectedPackEntry
(Pack p_99963_) ModifierConstructorDescriptionPackSelectionModel
(Runnable p_99909_, Function<Pack, ResourceLocation> p_99910_, PackRepository p_99911_, Consumer<PackRepository> p_99912_) -
Uses of Pack in net.minecraft.client.resources
Modifier and TypeMethodDescriptionprivate Pack
ClientPackSource.createProgrammerArtPack
(Pack.PackConstructor p_118557_) private static Pack
ClientPackSource.createProgrammerArtPack
(Pack.PackConstructor p_118559_, Supplier<PackResources> p_118560_) Modifier and TypeMethodDescriptionvoid
ClientPackSource.loadPacks
(Consumer<Pack> p_118584_, Pack.PackConstructor p_118585_) -
Uses of Pack in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static Pack
DataPackCommand.getPack
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_136816_, String p_136817_, boolean p_136818_) Modifier and TypeMethodDescriptionvoid
private static int
DataPackCommand.disablePack
(CommandSourceStack p_136826_, Pack p_136827_) private static int
DataPackCommand.enablePack
(CommandSourceStack p_136829_, Pack p_136830_, DataPackCommand.Inserter p_136831_) -
Uses of Pack in net.minecraft.server.packs.repository
Modifier and TypeMethodDescriptionstatic Pack
Pack.create
(String p_10431_, boolean p_10432_, Supplier<PackResources> p_10433_, Pack.PackConstructor p_10434_, Pack.Position p_10435_, PackSource p_10436_) default Pack
Pack.PackConstructor.create
(String p_143874_, Component p_143875_, boolean p_143876_, Supplier<PackResources> p_143877_, PackMetadataSection p_143878_, Pack.Position p_143879_, PackSource p_143880_) Deprecated.Pack.PackConstructor.create
(String p_143874_, Component p_143875_, boolean p_143876_, Supplier<PackResources> p_143877_, PackMetadataSection p_143878_, Pack.Position p_143879_, PackSource p_143880_, boolean hidden) Modifier and TypeMethodDescriptionPackRepository.discoverAvailable()
PackRepository.getAvailablePacks()
PackRepository.getAvailablePacks
(Collection<String> p_10521_) PackRepository.getSelectedPacks()
PackRepository.rebuildSelected
(Collection<String> p_10518_) Modifier and TypeMethodDescription<T> int
void
FolderRepositorySource.loadPacks
(Consumer<Pack> p_10391_, Pack.PackConstructor p_10392_) void
RepositorySource.loadPacks
(Consumer<Pack> p_10542_, Pack.PackConstructor p_10543_) void
ServerPacksSource.loadPacks
(Consumer<Pack> p_10548_, Pack.PackConstructor p_10549_) -
Uses of Pack in net.minecraftforge.client.loading
Modifier and TypeMethodDescriptionprivate static void
ClientModLoader.clientPackFinder
(Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathResourcePack> modResourcePacks, Consumer<Pack> consumer, Pack.PackConstructor factory) -
Uses of Pack in net.minecraftforge.resource
Modifier and TypeMethodDescriptionstatic void
ResourcePackLoader.loadResourcePacks
(PackRepository resourcePacks, BiFunction<Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathResourcePack>, BiConsumer<? super PathResourcePack, Pack>, ? extends RepositorySource> packFinder) Deprecated. -
Uses of Pack in net.minecraftforge.server
Modifier and TypeMethodDescriptionprivate static void
ServerLifecycleHooks.serverPackFinder
(Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathResourcePack> modResourcePacks, Consumer<Pack> consumer, Pack.PackConstructor factory)