Uses of Class
net.minecraft.resource.ResourcePackManager
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourcePackManager in net.minecraft.client
Modifier and TypeFieldDescriptionprivate final ResourcePackManager
MinecraftClient.resourcePackManager
Modifier and TypeMethodDescriptionvoid
MinecraftClient.startIntegratedServer
(String levelName, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, boolean newWorld) -
Uses of ResourcePackManager in net.minecraft.client.gui.screen.option
Modifier and TypeMethodDescriptionprivate void
OptionsScreen.refreshResourcePacks
(ResourcePackManager resourcePackManager) -
Uses of ResourcePackManager in net.minecraft.client.gui.screen.pack
Modifier and TypeFieldDescriptionprivate final ResourcePackManager
ResourcePackOrganizer.resourcePackManager
Modifier and TypeFieldDescriptionprivate final Consumer<ResourcePackManager>
ResourcePackOrganizer.applier
ModifierConstructorDescriptionPackScreen
(Screen parent, ResourcePackManager packManager, Consumer<ResourcePackManager> applier, Path file, Text title) ResourcePackOrganizer
(Runnable updateCallback, Function<ResourcePackProfile, Identifier> iconIdSupplier, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier) ModifierConstructorDescriptionPackScreen
(Screen parent, ResourcePackManager packManager, Consumer<ResourcePackManager> applier, Path file, Text title) ResourcePackOrganizer
(Runnable updateCallback, Function<ResourcePackProfile, Identifier> iconIdSupplier, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier) -
Uses of ResourcePackManager in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate @Nullable ResourcePackManager
CreateWorldScreen.packManager
Modifier and TypeMethodDescriptionprivate @Nullable com.mojang.datafixers.util.Pair<Path,
ResourcePackManager> CreateWorldScreen.getScannedPack()
Modifier and TypeMethodDescriptionprivate void
CreateWorldScreen.applyDataPacks
(ResourcePackManager dataPackManager) private static SaveLoading.ServerConfig
CreateWorldScreen.createServerConfig
(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration) private void
CreateWorldScreen.validateDataPacks
(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration) -
Uses of ResourcePackManager in net.minecraft.client.option
Modifier and TypeMethodDescriptionvoid
GameOptions.addResourcePackProfilesToManager
(ResourcePackManager manager) -
Uses of ResourcePackManager in net.minecraft.resource
Modifier and TypeMethodDescriptionstatic ResourcePackManager
VanillaDataPackProvider.createManager
(Path dataPacksPath) static ResourcePackManager
VanillaDataPackProvider.createManager
(LevelStorage.Session session) -
Uses of ResourcePackManager in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final ResourcePackManager
MinecraftServer.dataPackManager
private final ResourcePackManager
SaveLoading.DataPacks.manager
The field for themanager
record component.Modifier and TypeMethodDescriptionMinecraftServer.getDataPackManager()
SaveLoading.DataPacks.manager()
Returns the value of themanager
record component.Modifier and TypeMethodDescriptionprivate static DataPackSettings
MinecraftServer.createDataPackSettings
(ResourcePackManager dataPackManager) private static SaveLoading.ServerConfig
Main.createServerConfig
(ServerPropertiesHandler serverPropertiesHandler, LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) static DataConfiguration
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode, FeatureSet enabledFeatures) ModifierConstructorDescriptionDataPacks
(ResourcePackManager resourcePackManager, DataConfiguration dataConfiguration, boolean bool, boolean bool2) MinecraftServer
(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Proxy proxy, com.mojang.datafixers.DataFixer dataFixer, ApiServices apiServices, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) -
Uses of ResourcePackManager in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static Collection<String>
ReloadCommand.findNewDataPacks
(ResourcePackManager dataPackManager, SaveProperties saveProperties, Collection<String> enabledDataPacks) -
Uses of ResourcePackManager in net.minecraft.server.dedicated
ModifierConstructorDescriptionMinecraftDedicatedServer
(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, ServerPropertiesLoader propertiesLoader, com.mojang.datafixers.DataFixer dataFixer, ApiServices apiServices, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) -
Uses of ResourcePackManager in net.minecraft.server.integrated
Modifier and TypeMethodDescriptionprivate SaveLoading.DataPacks
IntegratedServerLoader.createDataPackConfig
(LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) private SaveLoader
IntegratedServerLoader.createSaveLoader
(LevelStorage.Session session, boolean safeMode, ResourcePackManager dataPackManager) ModifierConstructorDescriptionIntegratedServer
(Thread serverThread, MinecraftClient client, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, ApiServices apiServices, WorldGenerationProgressListenerFactory worldGenerationProgressListenerFactory) -
Uses of ResourcePackManager in net.minecraft.test
Modifier and TypeMethodDescriptionstatic TestServer
TestServer.create
(Thread thread, LevelStorage.Session session, ResourcePackManager resourcePackManager, Collection<GameTestBatch> batches, BlockPos pos) ModifierConstructorDescriptionprivate
TestServer
(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Collection<GameTestBatch> batches, BlockPos pos)