Uses of Class
net.minecraft.server.packs.repository.PackRepository
Package
Description
-
Uses of PackRepository in net.minecraft.client
Modifier and TypeMethodDescriptionprivate static PackRepository
Minecraft.createPackRepository
(LevelStorageSource.LevelStorageAccess p_205143_) Minecraft.getResourcePackRepository()
Modifier and TypeMethodDescriptionvoid
Options.loadSelectedResourcePacks
(PackRepository p_92146_) Minecraft.makeWorldStem
(PackRepository p_205126_, boolean p_205127_, WorldStem.DataPackConfigSupplier p_205128_, WorldStem.WorldDataSupplier p_205129_) -
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 com.mojang.datafixers.util.Pair<File,
PackRepository> CreateWorldScreen.getDataPackSelectionSettings()
Modifier and TypeMethodDescriptionprivate void
CreateWorldScreen.tryApplyNewDataPacks
(PackRepository p_100879_) -
Uses of PackRepository in net.minecraft.client.server
ModifierConstructorDescriptionIntegratedServer
(Thread p_205653_, Minecraft p_205654_, LevelStorageSource.LevelStorageAccess p_205655_, PackRepository p_205656_, WorldStem p_205657_, com.mojang.authlib.minecraft.MinecraftSessionService p_205658_, com.mojang.authlib.GameProfileRepository p_205659_, GameProfileCache p_205660_, ChunkProgressListenerFactory p_205661_) -
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
WorldStem.InitConfig.packRepository
The field for thepackRepository
record component.Modifier and TypeMethodDescriptionMinecraftServer.getPackRepository()
WorldStem.InitConfig.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_) ModifierConstructorDescriptionInitConfig
(PackRepository packRepository, Commands.CommandSelection commandSelection, int functionCompilationLevel, boolean safeMode) Creates an instance of aInitConfig
record class.MinecraftServer
(Thread p_206546_, LevelStorageSource.LevelStorageAccess p_206547_, PackRepository p_206548_, WorldStem p_206549_, Proxy p_206550_, com.mojang.datafixers.DataFixer p_206551_, com.mojang.authlib.minecraft.MinecraftSessionService p_206552_, com.mojang.authlib.GameProfileRepository p_206553_, GameProfileCache p_206554_, ChunkProgressListenerFactory p_206555_) -
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_203713_, LevelStorageSource.LevelStorageAccess p_203714_, PackRepository p_203715_, WorldStem p_203716_, DedicatedServerSettings p_203717_, com.mojang.datafixers.DataFixer p_203718_, com.mojang.authlib.minecraft.MinecraftSessionService p_203719_, com.mojang.authlib.GameProfileRepository p_203720_, GameProfileCache p_203721_, ChunkProgressListenerFactory p_203722_) -
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 PathResourcePack>, BiConsumer<? super PathResourcePack, Pack>, ? extends RepositorySource> packFinder) Deprecated.static void
ResourcePackLoader.loadResourcePacks
(PackRepository resourcePacks, Function<Map<net.minecraftforge.forgespi.locating.IModFile, ? extends PathResourcePack>, ? extends RepositorySource> packFinder)