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
(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
(ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier, Path file, Text title) ResourcePackOrganizer
(Runnable updateCallback, Function<ResourcePackProfile, Identifier> iconIdSupplier, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier) ModifierConstructorDescriptionPackScreen
(ResourcePackManager resourcePackManager, 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
private final ResourcePackManager
ExperimentsScreen.resourcePackManager
Modifier and TypeFieldDescriptionprivate final Consumer
<ResourcePackManager> ExperimentsScreen.applier
Modifier and TypeMethodDescriptionprivate @Nullable com.mojang.datafixers.util.Pair
<Path, ResourcePackManager> CreateWorldScreen.getScannedPack
(DataConfiguration dataConfiguration) Modifier and TypeMethodDescriptionprivate void
CreateWorldScreen.applyDataPacks
(ResourcePackManager dataPackManager, boolean fromPackScreen, Consumer<DataConfiguration> configurationSetter) private static SaveLoading.ServerConfig
CreateWorldScreen.createServerConfig
(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration) private void
CreateWorldScreen.validateDataPacks
(ResourcePackManager dataPackManager, DataConfiguration dataConfiguration, Consumer<DataConfiguration> configurationSetter) ModifierConstructorDescriptionExperimentsScreen
(Screen parent, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier) ModifierConstructorDescriptionExperimentsScreen
(Screen parent, ResourcePackManager resourcePackManager, Consumer<ResourcePackManager> applier) -
Uses of ResourcePackManager in net.minecraft.client.option
Modifier and TypeMethodDescriptionvoid
GameOptions.addResourcePackProfilesToManager
(ResourcePackManager manager) void
GameOptions.refreshResourcePacks
(ResourcePackManager resourcePackManager) -
Uses of ResourcePackManager in net.minecraft.client.resource
Modifier and TypeFieldDescriptionprivate final ResourcePackManager
ClientDataPackManager.packManager
-
Uses of ResourcePackManager in net.minecraft.resource
Modifier and TypeMethodDescriptionstatic ResourcePackManager
VanillaDataPackProvider.createClientManager()
static ResourcePackManager
VanillaDataPackProvider.createManager
(Path dataPacksPath, SymlinkFinder symlinkFinder) 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, boolean allowEnabling) private static SaveLoading.ServerConfig
Main.createServerConfig
(ServerPropertiesHandler serverPropertiesHandler, @Nullable com.mojang.serialization.Dynamic<?> dynamic, boolean safeMode, ResourcePackManager dataPackManager) private static void
MinecraftServer.forceEnableRequestedFeatures
(ResourcePackManager resourcePackManager, FeatureSet enabledFeatures) private static DataConfiguration
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, Collection<String> enabledProfiles, FeatureSet enabledFeatures, boolean allowEnabling) static DataConfiguration
MinecraftServer.loadDataPacks
(ResourcePackManager resourcePackManager, DataConfiguration dataConfiguration, boolean initMode, boolean safeMode) 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 void
IntegratedServerLoader.checkBackupAndStart
(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager dataPackManager, Runnable onCancel) IntegratedServerLoader.load
(com.mojang.serialization.Dynamic<?> levelProperties, boolean safeMode, ResourcePackManager dataPackManager) private void
IntegratedServerLoader.start
(LevelStorage.Session session, SaveLoader saveLoader, ServerResourcePackLoader resourcePackLoader, ResourcePackManager dataPackManager, Runnable onCancel) private void
IntegratedServerLoader.start
(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager dataPackManager) private void
IntegratedServerLoader.start
(LevelStorage.Session session, SaveLoader saveLoader, ResourcePackManager dataPackManager, Runnable onCancel) 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<TestFunction> batches, BlockPos pos) ModifierConstructorDescriptionprivate
TestServer
(Thread serverThread, LevelStorage.Session session, ResourcePackManager dataPackManager, SaveLoader saveLoader, Collection<TestFunction> testFunctions, BlockPos pos) -
Uses of ResourcePackManager in net.minecraft.world.level.storage
Modifier and TypeMethodDescriptionstatic SaveLoading.DataPacks
LevelStorage.parseDataPacks
(com.mojang.serialization.Dynamic<?> dynamic, ResourcePackManager dataPackManager, boolean safeMode)