Uses of Class
net.minecraft.server.packs.repository.PackRepository
Package
Description
-
Uses of PackRepository in net.minecraft.client
Modifier and TypeMethodDescriptionvoid
Minecraft.doWorldLoad
(String p_261891_, LevelStorageSource.LevelStorageAccess p_261564_, PackRepository p_261826_, WorldStem p_261470_, boolean p_261465_) void
Options.loadSelectedResourcePacks
(PackRepository p_92146_) -
Uses of PackRepository in net.minecraft.client.gui.screens
Modifier and TypeMethodDescriptionprivate void
OptionsScreen.updatePackList
(PackRepository p_96245_) -
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
(Screen p_250119_, PackRepository p_249296_, Consumer<PackRepository> p_250932_, Path p_251292_, Component p_251319_) ModifierConstructorDescriptionPackSelectionModel
(Runnable p_99909_, Function<Pack, ResourceLocation> p_99910_, PackRepository p_99911_, Consumer<PackRepository> p_99912_) PackSelectionScreen
(Screen p_250119_, PackRepository p_249296_, Consumer<PackRepository> p_250932_, Path p_251292_, Component p_251319_) -
Uses of PackRepository in net.minecraft.client.gui.screens.worldselection
Modifier and TypeMethodDescriptionprivate com.mojang.datafixers.util.Pair<Path,
PackRepository> CreateWorldScreen.getDataPackSelectionSettings()
Modifier and TypeMethodDescriptionprivate void
CreateWorldScreen.applyNewPackConfig
(PackRepository p_251497_, WorldDataConfiguration p_249845_) private static WorldLoader.InitConfig
CreateWorldScreen.createDefaultLoadConfig
(PackRepository p_251829_, WorldDataConfiguration p_251555_) private WorldLoader.PackConfig
WorldOpenFlows.getPackConfigFromLevelData
(LevelStorageSource.LevelStorageAccess p_249986_, boolean p_248615_, PackRepository p_249167_) private WorldStem
WorldOpenFlows.loadWorldStem
(LevelStorageSource.LevelStorageAccess p_233123_, boolean p_233124_, PackRepository p_233125_) private void
CreateWorldScreen.tryApplyNewDataPacks
(PackRepository p_100879_) -
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<GameTestBatch> p_206610_, BlockPos p_206611_) ModifierConstructorDescriptionGameTestServer
(Thread p_206597_, LevelStorageSource.LevelStorageAccess p_206598_, PackRepository p_206599_, WorldStem p_206600_, Collection<GameTestBatch> 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_, DataPackConfig p_248920_, boolean p_249869_, FeatureFlagSet p_251243_) private static DataPackConfig
MinecraftServer.getSelectedPacks
(PackRepository p_129818_) private static WorldLoader.InitConfig
Main.loadOrCreateConfig
(DedicatedServerProperties p_248563_, LevelStorageSource.LevelStorageAccess p_251359_, 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_) static PackRepository
ServerPacksSource.createPackRepository
(LevelStorageSource.LevelStorageAccess p_250213_) -
Uses of PackRepository in net.minecraftforge.client.loading
Modifier and TypeMethodDescriptionstatic void
ClientModLoader.begin
(Minecraft minecraft, PackRepository defaultResourcePacks, ReloadableResourceManager mcResourceManager) -
Uses of PackRepository 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.static void
ResourcePackLoader.loadResourcePacks
(PackRepository resourcePacks, Function<Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathPackResources>, ? extends RepositorySource> packFinder)