Uses of Class
net.minecraft.server.packs.repository.Pack
Package
Description
-
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.gui.screens.worldselection
Modifier and TypeFieldDescription(package private) final Collection<Pack>
ConfirmExperimentalFeaturesScreen.enabledPacks
ModifierConstructorDescriptionConfirmExperimentalFeaturesScreen
(Collection<Pack> p_252011_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_250152_) PackList
(Minecraft p_249776_, Collection<Pack> p_251183_) -
Uses of Pack in net.minecraft.client.resources
Modifier and TypeMethodDescriptionprotected Pack
ClientPackSource.createBuiltinPack
(String p_250992_, Pack.ResourcesSupplier p_250814_, Component p_249835_) protected Pack
ClientPackSource.createVanillaPack
(PackResources p_250048_) Modifier and TypeMethodDescriptionvoid
protected void
ClientPackSource.populatePackList
(BiConsumer<String, Function<String, Pack>> p_249851_) -
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_252257_, Component p_248717_, boolean p_248811_, Pack.ResourcesSupplier p_248969_, Pack.Info p_251314_, PackType p_250264_, Pack.Position p_252110_, boolean p_250237_, PackSource p_248524_) protected abstract Pack
BuiltInPackSource.createBuiltinPack
(String p_249992_, Pack.ResourcesSupplier p_248670_, Component p_252197_) protected Pack
ServerPacksSource.createBuiltinPack
(String p_250596_, Pack.ResourcesSupplier p_249625_, Component p_249043_) protected abstract Pack
BuiltInPackSource.createVanillaPack
(PackResources p_251690_) protected Pack
ServerPacksSource.createVanillaPack
(PackResources p_250283_) static Pack
Pack.readMetaAndCreate
(String p_249649_, Component p_248632_, boolean p_251594_, Pack.ResourcesSupplier p_252210_, PackType p_250595_, Pack.Position p_248706_, PackSource p_251233_) Modifier and TypeMethodDescriptionPackRepository.discoverAvailable()
PackRepository.getAvailablePacks()
PackRepository.getAvailablePacks
(Collection<String> p_10521_) PackRepository.getSelectedPacks()
PackRepository.rebuildSelected
(Collection<String> p_10518_) Modifier and TypeMethodDescriptionprotected void
BuiltInPackSource.discoverPacksInPath
(Path p_250013_, BiConsumer<String, Function<String, Pack>> p_249898_) <T> int
private void
BuiltInPackSource.listBundledPacks
(Consumer<Pack> p_249128_) void
void
void
protected void
BuiltInPackSource.populatePackList
(BiConsumer<String, Function<String, Pack>> p_250341_) -
Uses of Pack in net.minecraftforge.client.loading
Modifier and TypeMethodDescriptionprivate static void
ClientModLoader.clientPackFinder
(Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathPackResources> modResourcePacks, Consumer<Pack> packAcceptor) -
Uses of Pack in net.minecraftforge.resource
Modifier and TypeMethodDescriptionstatic void
ResourcePackLoader.loadResourcePacks
(PackRepository resourcePacks, BiFunction<Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathPackResources>, BiConsumer<? super PathPackResources, 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 PathPackResources> modResourcePacks, Consumer<Pack> packAcceptor)