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_231381_, LevelStorageSource.LevelStorageAccess p_231382_, PackRepository p_231383_, WorldStem p_231384_) 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_99984_, PackRepository p_99985_, Consumer<PackRepository> p_99986_, File p_99987_, Component p_99988_) ModifierConstructorDescriptionPackSelectionModel
(Runnable p_99909_, Function<Pack, ResourceLocation> p_99910_, PackRepository p_99911_, Consumer<PackRepository> p_99912_) PackSelectionScreen
(Screen p_99984_, PackRepository p_99985_, Consumer<PackRepository> p_99986_, File p_99987_, Component p_99988_) -
Uses of PackRepository in net.minecraft.client.gui.screens.worldselection
Modifier and TypeMethodDescriptionprivate static PackRepository
WorldOpenFlows.createPackRepository
(LevelStorageSource.LevelStorageAccess p_233106_) Modifier and TypeMethodDescriptionprivate com.mojang.datafixers.util.Pair<File,
PackRepository> CreateWorldScreen.getDataPackSelectionSettings()
Modifier and TypeMethodDescriptionprivate static WorldLoader.InitConfig
CreateWorldScreen.createDefaultLoadConfig
(PackRepository p_232873_, DataPackConfig p_232874_) 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 DataPackConfig
MinecraftServer.configurePackRepository
(PackRepository p_129820_, DataPackConfig p_129821_, boolean p_129822_) private static DataPackConfig
MinecraftServer.getSelectedPacks
(PackRepository p_129818_) 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, DataPackConfig initialDataPacks, boolean safeMode) 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.minecraftforge.client.loading
Modifier and TypeMethodDescriptionstatic void
ClientModLoader.begin
(Minecraft minecraft, PackRepository defaultResourcePacks, ReloadableResourceManager mcResourceManager, ClientPackSource metadataSerializer) -
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)