Uses of Class
net.minecraft.server.packs.repository.PackRepository
Package
Description
-
Uses of PackRepository in net.minecraft.client
Modifier and TypeMethodDescriptionvoid
Minecraft.doWorldLoad
(LevelStorageSource.LevelStorageAccess p_261564_, PackRepository p_261826_, WorldStem p_261470_, boolean p_261465_) void
Options.loadSelectedResourcePacks
(PackRepository p_92146_) void
Options.updateResourcePacks
(PackRepository p_275268_) -
Uses of PackRepository in net.minecraft.client.gui.screens
Modifier and TypeMethodDescriptionprivate void
OptionsScreen.applyPacks
(PackRepository p_275714_) -
Uses of PackRepository in net.minecraft.client.gui.screens.packs
Modifier and TypeFieldDescriptionprivate final Consumer
<PackRepository> PackSelectionModel.output
ModifierConstructorDescriptionPackSelectionModel
(Runnable p_99909_, Function<Pack, ResourceLocation> p_99910_, PackRepository p_99911_, Consumer<PackRepository> p_99912_) PackSelectionScreen
(PackRepository p_275398_, Consumer<PackRepository> p_275659_, Path p_275522_, Component p_275337_) ModifierConstructorDescriptionPackSelectionModel
(Runnable p_99909_, Function<Pack, ResourceLocation> p_99910_, PackRepository p_99911_, Consumer<PackRepository> p_99912_) PackSelectionScreen
(PackRepository p_275398_, Consumer<PackRepository> p_275659_, Path p_275522_, Component p_275337_) -
Uses of PackRepository in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate final PackRepository
ExperimentsScreen.packRepository
private PackRepository
CreateWorldScreen.tempDataPackRepository
Modifier and TypeMethodDescriptionprivate com.mojang.datafixers.util.Pair
<Path, PackRepository> CreateWorldScreen.getDataPackSelectionSettings
(WorldDataConfiguration p_268328_) Modifier and TypeMethodDescriptionprivate void
CreateWorldScreen.applyNewPackConfig
(PackRepository p_270272_, WorldDataConfiguration p_270573_, Consumer<WorldDataConfiguration> p_270552_) private static WorldLoader.InitConfig
CreateWorldScreen.createDefaultLoadConfig
(PackRepository p_251829_, WorldDataConfiguration p_251555_) WorldOpenFlows.loadWorldStem
(com.mojang.serialization.Dynamic<?> p_307491_, boolean p_233124_, PackRepository p_233125_) private void
WorldOpenFlows.openWorldCheckDiskSpace
(LevelStorageSource.LevelStorageAccess p_330894_, WorldStem p_331981_, DownloadedPackSource p_331902_, PackRepository p_330360_, Runnable p_330719_) private void
WorldOpenFlows.openWorldCheckWorldStemCompatibility
(LevelStorageSource.LevelStorageAccess p_331469_, WorldStem p_330774_, PackRepository p_330989_, Runnable p_332128_) private void
WorldOpenFlows.openWorldDoLoad
(LevelStorageSource.LevelStorageAccess p_330420_, WorldStem p_331123_, PackRepository p_331620_) private void
WorldOpenFlows.openWorldLoadBundledResourcePack
(LevelStorageSource.LevelStorageAccess p_331323_, WorldStem p_330675_, PackRepository p_332043_, Runnable p_330403_) private void
CreateWorldScreen.tryApplyNewDataPacks
(PackRepository p_270299_, boolean p_270896_, Consumer<WorldDataConfiguration> p_270760_) ModifierConstructorDescriptionExperimentsScreen
(Screen p_270165_, PackRepository p_270308_, Consumer<PackRepository> p_270392_) ModifierConstructorDescriptionExperimentsScreen
(Screen p_270165_, PackRepository p_270308_, Consumer<PackRepository> p_270392_) -
Uses of PackRepository in net.minecraft.client.multiplayer
-
Uses of PackRepository in net.minecraft.client.server
ModifierConstructorDescriptionIntegratedServer
(Thread p_235248_, Minecraft p_235249_, LevelStorageSource.LevelStorageAccess p_235250_, PackRepository p_235251_, WorldStem p_235252_, Services p_235253_, ChunkProgressListenerFactory p_235254_) -
Uses of PackRepository in net.minecraft.gametest.framework
Modifier and TypeMethodDescriptionstatic GameTestServer
GameTestServer.create
(Thread p_206607_, LevelStorageSource.LevelStorageAccess p_206608_, PackRepository p_206609_, Collection<TestFunction> p_206610_, BlockPos p_206611_) ModifierConstructorDescriptionGameTestServer
(Thread p_206597_, LevelStorageSource.LevelStorageAccess p_206598_, PackRepository p_206599_, WorldStem p_206600_, Collection<TestFunction> p_206601_, BlockPos p_206602_) -
Uses of PackRepository in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final PackRepository
MinecraftServer.packRepository
private final PackRepository
WorldLoader.PackConfig.packRepository
The field for thepackRepository
record component.Modifier and TypeMethodDescriptionMinecraftServer.getPackRepository()
WorldLoader.PackConfig.packRepository()
Returns the value of thepackRepository
record component.Modifier and TypeMethodDescriptionstatic WorldDataConfiguration
MinecraftServer.configurePackRepository
(PackRepository p_248681_, WorldDataConfiguration p_341632_, boolean p_249869_, boolean p_341620_) private static WorldDataConfiguration
MinecraftServer.configureRepositoryWithSelection
(PackRepository p_341680_, Collection<String> p_341677_, FeatureFlagSet p_341602_, boolean p_341662_) private static void
MinecraftServer.enableForcedFeaturePacks
(PackRepository p_341674_, FeatureFlagSet p_341598_) private static DataPackConfig
MinecraftServer.getSelectedPacks
(PackRepository p_129818_, boolean p_341596_) private static WorldLoader.InitConfig
Main.loadOrCreateConfig
(DedicatedServerProperties p_248563_, com.mojang.serialization.Dynamic<?> p_307444_, boolean p_249093_, PackRepository p_251069_) ModifierConstructorDescriptionMinecraftServer
(Thread p_236723_, LevelStorageSource.LevelStorageAccess p_236724_, PackRepository p_236725_, WorldStem p_236726_, Proxy p_236727_, com.mojang.datafixers.DataFixer p_236728_, Services p_236729_, ChunkProgressListenerFactory p_236730_) PackConfig
(PackRepository packRepository, WorldDataConfiguration initialDataConfig, boolean safeMode, boolean initMode) Creates an instance of aPackConfig
record class. -
Uses of PackRepository in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static Collection
<String> ReloadCommand.discoverNewPacks
(PackRepository p_138223_, WorldData p_138224_, Collection<String> p_138225_) -
Uses of PackRepository in net.minecraft.server.dedicated
ModifierConstructorDescriptionDedicatedServer
(Thread p_214789_, LevelStorageSource.LevelStorageAccess p_214790_, PackRepository p_214791_, WorldStem p_214792_, DedicatedServerSettings p_214793_, com.mojang.datafixers.DataFixer p_214794_, Services p_214795_, ChunkProgressListenerFactory p_214796_) -
Uses of PackRepository in net.minecraft.server.packs.repository
Modifier and TypeMethodDescriptionstatic PackRepository
ServerPacksSource.createPackRepository
(Path p_251569_, DirectoryValidator p_295336_) static PackRepository
ServerPacksSource.createPackRepository
(LevelStorageSource.LevelStorageAccess p_250213_) static PackRepository
ServerPacksSource.createVanillaTrustedRepository()
-
Uses of PackRepository in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionstatic WorldLoader.PackConfig
LevelStorageSource.getPackConfig
(com.mojang.serialization.Dynamic<?> p_307282_, PackRepository p_307421_, boolean p_307393_) -
Uses of PackRepository in net.neoforged.neoforge.client.loading
Modifier and TypeMethodDescriptionstatic void
ClientModLoader.begin
(Minecraft minecraft, PackRepository defaultResourcePacks, ReloadableResourceManager mcResourceManager) -
Uses of PackRepository in net.neoforged.neoforge.resource
Modifier and TypeMethodDescriptionstatic void
ResourcePackLoader.populatePackRepository
(PackRepository resourcePacks, PackType packType, boolean trusted) static void
ResourcePackLoader.reorderNewlyDiscoveredPacks
(Collection<String> set, Collection<String> old, PackRepository packRepository) -
Uses of PackRepository in net.neoforged.testframework.junit
Modifier and TypeMethodDescriptionEphemeralTestServerProvider.JUnitServer.create
(Thread thread, Path tempDir, LevelStorageSource.LevelStorageAccess access, PackRepository resources) ModifierConstructorDescriptionJUnitServer
(Thread thread, LevelStorageSource.LevelStorageAccess access, PackRepository pack, WorldStem stem, Path tempDir)