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_312184_, boolean p_233124_, PackRepository p_233125_) 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.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_, com.mojang.serialization.Dynamic<?> p_310940_, 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_300268_) 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_312675_, PackRepository p_309764_, boolean p_310223_) -
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, boolean client)