Uses of Interface
net.minecraft.resource.ResourceManager
Packages that use ResourceManager
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourceManager in net.minecraft.client
Methods in net.minecraft.client that return ResourceManager -
Uses of ResourceManager in net.minecraft.client.font
Methods in net.minecraft.client.font with parameters of type ResourceManagerModifier and TypeMethodDescriptionprivate FontBitmapFont.Loader.load(ResourceManager resourceManager) FontLoader.Loadable.load(ResourceManager resourceManager) private CompletableFuture<Optional<Font>>FontManager.load(FontManager.FontKey key, FontLoader.Loadable loadable, ResourceManager resourceManager, Executor executor) voidGlyphAtlasTexture.load(ResourceManager manager) private FontTrueTypeFontLoader.load(ResourceManager resourceManager) private FontUnihexFont.Loader.load(ResourceManager resourceManager) FontManager.loadIndex(ResourceManager resourceManager, Executor executor) FontManager.reload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload. -
Uses of ResourceManager in net.minecraft.client.gl
Fields in net.minecraft.client.gl declared as ResourceManagerModifier and TypeFieldDescriptionprivate final ResourceManagerPostEffectProcessor.resourceManagerMethods in net.minecraft.client.gl with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic EffectShaderStageJsonEffectShaderProgram.loadEffect(ResourceManager resourceManager, ShaderStage.Type type, String name) Constructors in net.minecraft.client.gl with parameters of type ResourceManagerModifierConstructorDescriptionJsonEffectShaderProgram(ResourceManager resource, String name) PostEffectPass(ResourceManager resourceManager, String programName, Framebuffer input, Framebuffer output) PostEffectProcessor(TextureManager textureManager, ResourceManager resourceManager, Framebuffer framebuffer, Identifier id) -
Uses of ResourceManager in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected ResourceTexture.TextureDataSplashOverlay.LogoTexture.loadTextureData(ResourceManager resourceManager) -
Uses of ResourceManager in net.minecraft.client.particle
Methods in net.minecraft.client.particle with parameters of type ResourceManagerModifier and TypeMethodDescriptionParticleManager.reload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload. -
Uses of ResourceManager in net.minecraft.client.realms.gui.screen
Methods in net.minecraft.client.realms.gui.screen with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic voidRealmsMainScreen.loadImages(ResourceManager manager) -
Uses of ResourceManager in net.minecraft.client.render
Fields in net.minecraft.client.render declared as ResourceManagerMethods in net.minecraft.client.render with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoidWorldRenderer.reload(ResourceManager manager) Performs the reload in the apply executor, or the game engine.Constructors in net.minecraft.client.render with parameters of type ResourceManagerModifierConstructorDescriptionGameRenderer(MinecraftClient client, HeldItemRenderer heldItemRenderer, ResourceManager resourceManager, BufferBuilderStorage buffers) -
Uses of ResourceManager in net.minecraft.client.render.block
Methods in net.minecraft.client.render.block with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoidBlockRenderManager.reload(ResourceManager manager) Performs the reload in the apply executor, or the game engine. -
Uses of ResourceManager in net.minecraft.client.render.block.entity
Methods in net.minecraft.client.render.block.entity with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoidBlockEntityRenderDispatcher.reload(ResourceManager manager) Performs the reload in the apply executor, or the game engine. -
Uses of ResourceManager in net.minecraft.client.render.entity
Fields in net.minecraft.client.render.entity declared as ResourceManagerModifier and TypeFieldDescriptionprivate final ResourceManagerEntityRendererFactory.Context.resourceManagerMethods in net.minecraft.client.render.entity that return ResourceManagerMethods in net.minecraft.client.render.entity with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoidEntityRenderDispatcher.reload(ResourceManager manager) Performs the reload in the apply executor, or the game engine.Constructors in net.minecraft.client.render.entity with parameters of type ResourceManagerModifierConstructorDescriptionContext(EntityRenderDispatcher renderDispatcher, ItemRenderer itemRenderer, BlockRenderManager blockRenderManager, HeldItemRenderer heldItemRenderer, ResourceManager resourceManager, EntityModelLoader modelLoader, TextRenderer textRenderer) -
Uses of ResourceManager in net.minecraft.client.render.entity.feature
Fields in net.minecraft.client.render.entity.feature declared as ResourceManagerModifier and TypeFieldDescriptionprivate final ResourceManagerVillagerClothingFeatureRenderer.resourceManagerConstructors in net.minecraft.client.render.entity.feature with parameters of type ResourceManagerModifierConstructorDescriptionVillagerClothingFeatureRenderer(FeatureRendererContext<T, M> context, ResourceManager resourceManager, String entityType) -
Uses of ResourceManager in net.minecraft.client.render.entity.model
Methods in net.minecraft.client.render.entity.model with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoidEntityModelLoader.reload(ResourceManager manager) Performs the reload in the apply executor, or the game engine. -
Uses of ResourceManager in net.minecraft.client.render.item
Methods in net.minecraft.client.render.item with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoidBuiltinModelItemRenderer.reload(ResourceManager manager) Performs the reload in the apply executor, or the game engine.voidItemRenderer.reload(ResourceManager manager) Performs the reload in the apply executor, or the game engine. -
Uses of ResourceManager in net.minecraft.client.render.model
Methods in net.minecraft.client.render.model with parameters of type ResourceManagerModifier and TypeMethodDescriptionfinal CompletableFuture<Void>BakedModelManager.reload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload.SpriteAtlasManager.reload(ResourceManager resourceManager, int mipmapLevels, Executor executor) private static CompletableFuture<Map<Identifier,List<ModelLoader.SourceTrackedData>>> BakedModelManager.reloadBlockStates(ResourceManager resourceManager, Executor executor) private static CompletableFuture<Map<Identifier,JsonUnbakedModel>> BakedModelManager.reloadModels(ResourceManager resourceManager, Executor executor) -
Uses of ResourceManager in net.minecraft.client.resource
Methods in net.minecraft.client.resource with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected voidFoliageColormapResourceSupplier.apply(int[] int2, ResourceManager resourceManager, Profiler profiler) protected voidGrassColormapResourceSupplier.apply(int[] int2, ResourceManager resourceManager, Profiler profiler) protected voidPeriodicNotificationManager.apply(Map<String, List<PeriodicNotificationManager.Entry>> map, ResourceManager resourceManager, Profiler profiler) protected voidSplashTextResourceSupplier.apply(List<String> list, ResourceManager resourceManager, Profiler profiler) protected voidVideoWarningManager.apply(VideoWarningManager.WarningPatternLoader warningPatternLoader, ResourceManager resourceManager, Profiler profiler) private static @Nullable JsonObjectVideoWarningManager.loadWarnlist(ResourceManager resourceManager, Profiler profiler) protected Map<String,List<PeriodicNotificationManager.Entry>> PeriodicNotificationManager.prepare(ResourceManager resourceManager, Profiler profiler) SplashTextResourceSupplier.prepare(ResourceManager resourceManager, Profiler profiler) protected VideoWarningManager.WarningPatternLoaderVideoWarningManager.prepare(ResourceManager resourceManager, Profiler profiler) protected int[]FoliageColormapResourceSupplier.reload(ResourceManager resourceManager, Profiler profiler) protected int[]GrassColormapResourceSupplier.tryLoad(ResourceManager resourceManager, Profiler profiler) -
Uses of ResourceManager in net.minecraft.client.resource.language
Methods in net.minecraft.client.resource.language with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic TranslationStorageTranslationStorage.load(ResourceManager resourceManager, List<String> definitions, boolean rightToLeft) voidLanguageManager.reload(ResourceManager manager) Performs the reload in the apply executor, or the game engine. -
Uses of ResourceManager in net.minecraft.client.search
Methods in net.minecraft.client.search with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoidSearchManager.reload(ResourceManager manager) Performs the reload in the apply executor, or the game engine. -
Uses of ResourceManager in net.minecraft.client.sound
Methods in net.minecraft.client.sound with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected voidSoundManager.apply(SoundManager.SoundList soundList, ResourceManager resourceManager, Profiler profiler) (package private) voidSoundManager.SoundList.findSounds(ResourceManager resourceManager) protected SoundManager.SoundListSoundManager.prepare(ResourceManager resourceManager, Profiler profiler) -
Uses of ResourceManager in net.minecraft.client.texture
Fields in net.minecraft.client.texture declared as ResourceManagerMethods in net.minecraft.client.texture with parameters of type ResourceManagerModifier and TypeMethodDescriptionabstract voidAbstractTexture.load(ResourceManager manager) voidNativeImageBackedTexture.load(ResourceManager manager) voidPlayerSkinTexture.load(ResourceManager manager) voidResourceTexture.load(ResourceManager manager) static ResourceTexture.TextureDataResourceTexture.TextureData.load(ResourceManager resourceManager, Identifier id) voidSpriteAtlasTexture.load(ResourceManager manager) SpriteLoader.load(ResourceManager resourceManager, Identifier path, int mipLevel, Executor executor) protected ResourceTexture.TextureDataAsyncTexture.loadTextureData(ResourceManager resourceManager) protected ResourceTexture.TextureDataResourceTexture.loadTextureData(ResourceManager resourceManager) voidAbstractTexture.registerTexture(TextureManager textureManager, ResourceManager resourceManager, Identifier id, Executor executor) voidAsyncTexture.registerTexture(TextureManager textureManager, ResourceManager resourceManager, Identifier id, Executor executor) final CompletableFuture<Void>SpriteAtlasHolder.reload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload.TextureManager.reload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload.Constructors in net.minecraft.client.texture with parameters of type ResourceManagerModifierConstructorDescriptionAsyncTexture(ResourceManager resourceManager, Identifier id, Executor executor) TextureManager(ResourceManager resourceManager) -
Uses of ResourceManager in net.minecraft.client.texture.atlas
Methods in net.minecraft.client.texture.atlas with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoidAtlasSource.load(ResourceManager resourceManager, AtlasSource.SpriteRegions regions) voidDirectoryAtlasSource.load(ResourceManager resourceManager, AtlasSource.SpriteRegions regions) voidFilterAtlasSource.load(ResourceManager resourceManager, AtlasSource.SpriteRegions regions) voidPalettedPermutationsAtlasSource.load(ResourceManager resourceManager, AtlasSource.SpriteRegions regions) voidSingleAtlasSource.load(ResourceManager resourceManager, AtlasSource.SpriteRegions regions) voidUnstitchAtlasSource.load(ResourceManager resourceManager, AtlasSource.SpriteRegions regions) AtlasLoader.loadSources(ResourceManager resourceManager) static int[]PalettedPermutationsAtlasSource.method_48486(ResourceManager resourceManager, Identifier identifier) static AtlasLoaderAtlasLoader.of(ResourceManager resourceManager, Identifier id) -
Uses of ResourceManager in net.minecraft.client.util
Methods in net.minecraft.client.util with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic int[]RawTextureDataLoader.loadRawTextureData(ResourceManager resourceManager, Identifier id) Deprecated. -
Uses of ResourceManager in net.minecraft.loot
Methods in net.minecraft.loot with parameters of type ResourceManagerModifier and TypeMethodDescriptionprivate static <T> CompletableFuture<?>LootManager.load(LootDataType<T> type, ResourceManager resourceManager, Executor executor, Map<LootDataType<?>, Map<Identifier, ?>> results) final CompletableFuture<Void>LootManager.reload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload. -
Uses of ResourceManager in net.minecraft.recipe
Methods in net.minecraft.recipe with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected voidRecipeManager.apply(Map<Identifier, JsonElement> map, ResourceManager resourceManager, Profiler profiler) -
Uses of ResourceManager in net.minecraft.registry
Methods in net.minecraft.registry with parameters of type ResourceManagerModifier and TypeMethodDescription(package private) static <E> voidRegistryLoader.load(RegistryOps.RegistryInfoGetter registryInfoGetter, ResourceManager resourceManager, RegistryKey<? extends Registry<E>> registryRef, MutableRegistry<E> newRegistry, com.mojang.serialization.Decoder<E> decoder, Map<RegistryKey<?>, Exception> exceptions) RegistryLoader.load(ResourceManager resourceManager, DynamicRegistryManager baseRegistryManager, List<RegistryLoader.Entry<?>> entries) voidRegistryLoader.RegistryLoadable.load(ResourceManager resourceManager, RegistryOps.RegistryInfoGetter registryInfoGetter) -
Uses of ResourceManager in net.minecraft.registry.tag
Methods in net.minecraft.registry.tag with parameters of type ResourceManagerModifier and TypeMethodDescriptionprivate <T> CompletableFuture<TagManagerLoader.RegistryTags<T>>TagManagerLoader.buildRequiredGroup(ResourceManager resourceManager, Executor prepareExecutor, DynamicRegistryManager.Entry<T> requirement) TagGroupLoader.load(ResourceManager manager) TagGroupLoader.loadTags(ResourceManager resourceManager) TagManagerLoader.reload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload. -
Uses of ResourceManager in net.minecraft.resource
Subinterfaces of ResourceManager in net.minecraft.resourceModifier and TypeInterfaceDescriptioninterfaceA lifecycled resource manager is available until it is closed.Classes in net.minecraft.resource that implement ResourceManagerModifier and TypeClassDescriptionclassA basic implementation of resource manager with a lifecycle.classA resource manager that only loads resources for a specific namespace.classA reloadable resource manager is always available to be accessed, and is the type used by the minecraft client instance.static enumMethods in net.minecraft.resource with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected abstract voidSinglePreparationResourceReloader.apply(T prepared, ResourceManager manager, Profiler profiler) Handles the prepared intermediate object.static SimpleResourceReload<Void>SimpleResourceReload.create(ResourceManager manager, List<ResourceReloader> reloaders, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage) Creates a simple resource reload without additional results.SimpleResourceReload.Factory.create(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, ResourceReloader reloader, Executor prepareExecutor, Executor applyExecutor) ResourceFinder.findAllResources(ResourceManager resourceManager) ResourceFinder.findResources(ResourceManager resourceManager) static voidJsonDataLoader.load(ResourceManager manager, String dataType, Gson gson, Map<Identifier, JsonElement> results) protected Map<Identifier,JsonElement> JsonDataLoader.prepare(ResourceManager resourceManager, Profiler profiler) protected abstract TSinglePreparationResourceReloader.prepare(ResourceManager manager, Profiler profiler) Prepares the intermediate object.ResourceReloader.reload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload.final CompletableFuture<Void>SinglePreparationResourceReloader.reload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload.voidSynchronousResourceReloader.reload(ResourceManager manager) Performs the reload in the apply executor, or the game engine.default CompletableFuture<Void>SynchronousResourceReloader.reload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload.static ResourceReloadSimpleResourceReload.start(ResourceManager manager, List<ResourceReloader> reloaders, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, boolean profiled) Starts a resource reload with the content from themanagersupplied to thereloaders.Constructors in net.minecraft.resource with parameters of type ResourceManagerModifierConstructorDescriptionProfiledResourceReload(ResourceManager manager, List<ResourceReloader> reloaders, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage) protectedSimpleResourceReload(Executor prepareExecutor, Executor applyExecutor, ResourceManager manager, List<ResourceReloader> reloaders, SimpleResourceReload.Factory<S> factory, CompletableFuture<Unit> initialStage) -
Uses of ResourceManager in net.minecraft.server
Fields in net.minecraft.server declared as ResourceManagerModifier and TypeFieldDescriptionprivate final ResourceManagerSaveLoading.LoadContextSupplierContext.resourceManagerThe field for theresourceManagerrecord component.Methods in net.minecraft.server that return ResourceManagerModifier and TypeMethodDescriptionMinecraftServer.getResourceManager()SaveLoading.LoadContextSupplierContext.resourceManager()Returns the value of theresourceManagerrecord component.Methods in net.minecraft.server with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected voidServerAdvancementLoader.apply(Map<Identifier, JsonElement> map, ResourceManager resourceManager, Profiler profiler) private static DynamicRegistryManager.ImmutableSaveLoading.loadDynamicRegistryManager(ResourceManager resourceManager, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, ServerDynamicRegistryType type, List<RegistryLoader.Entry<?>> entries) static CompletableFuture<DataPackContents>DataPackContents.reload(ResourceManager manager, DynamicRegistryManager.Immutable dynamicRegistryManager, FeatureSet enabledFeatures, CommandManager.RegistrationEnvironment environment, int functionPermissionLevel, Executor prepareExecutor, Executor applyExecutor) Reloads the data packs contents.private static CombinedDynamicRegistries<ServerDynamicRegistryType>SaveLoading.withRegistriesLoaded(ResourceManager resourceManager, CombinedDynamicRegistries<ServerDynamicRegistryType> combinedDynamicRegistries, ServerDynamicRegistryType type, List<RegistryLoader.Entry<?>> entries) Constructors in net.minecraft.server with parameters of type ResourceManagerModifierConstructorDescriptionLoadContextSupplierContext(ResourceManager resourceManager, DataConfiguration dataConfiguration, DynamicRegistryManager.Immutable immutable, DynamicRegistryManager.Immutable immutable2) -
Uses of ResourceManager in net.minecraft.server.function
Methods in net.minecraft.server.function with parameters of type ResourceManagerModifier and TypeMethodDescriptionFunctionLoader.reload(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload. -
Uses of ResourceManager in net.minecraft.structure
Fields in net.minecraft.structure declared as ResourceManagerModifier and TypeFieldDescriptionprivate final ResourceManagerStructureContext.resourceManagerThe field for theresourceManagerrecord component.private ResourceManagerStructureTemplateManager.resourceManagerMethods in net.minecraft.structure that return ResourceManagerModifier and TypeMethodDescriptionStructureContext.resourceManager()Returns the value of theresourceManagerrecord component.Methods in net.minecraft.structure with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoidStructureTemplateManager.setResourceManager(ResourceManager resourceManager) Constructors in net.minecraft.structure with parameters of type ResourceManagerModifierConstructorDescriptionStructureContext(ResourceManager resourceManager, DynamicRegistryManager dynamicRegistryManager, StructureTemplateManager structureTemplateManager) StructureTemplateManager(ResourceManager resourceManager, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, RegistryEntryLookup<Block> blockLookup)