Uses of Interface
net.minecraft.resource.ResourceManager
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourceManager in net.minecraft.client
-
Uses of ResourceManager in net.minecraft.client.font
Modifier and TypeMethodDescriptionBitmapFont.Loader.load
(ResourceManager manager) FontLoader.load
(ResourceManager manager) void
GlyphAtlasTexture.load
(ResourceManager manager) TrueTypeFontLoader.load
(ResourceManager manager) UnicodeTextureFont.Loader.load
(ResourceManager manager) ModifierConstructorDescriptionUnicodeTextureFont
(ResourceManager resourceManager, byte[] sizes, String template) -
Uses of ResourceManager in net.minecraft.client.gl
Modifier and TypeFieldDescriptionprivate final ResourceManager
PostEffectProcessor.resourceManager
Modifier and TypeMethodDescriptionstatic EffectShaderStage
JsonEffectShaderProgram.loadEffect
(ResourceManager resourceManager, ShaderStage.Type type, String name) ModifierConstructorDescriptionJsonEffectShaderProgram
(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
Modifier and TypeMethodDescriptionprotected ResourceTexture.TextureData
SplashOverlay.LogoTexture.loadTextureData
(ResourceManager resourceManager) -
Uses of ResourceManager in net.minecraft.client.particle
Modifier 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
Modifier and TypeMethodDescriptionstatic void
RealmsMainScreen.loadImages
(ResourceManager manager) -
Uses of ResourceManager in net.minecraft.client.render
Modifier and TypeMethodDescriptionvoid
WorldRenderer.reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine.ModifierConstructorDescriptionGameRenderer
(MinecraftClient client, HeldItemRenderer heldItemRenderer, ResourceManager resourceManager, BufferBuilderStorage buffers) -
Uses of ResourceManager in net.minecraft.client.render.block
Modifier and TypeMethodDescriptionvoid
BlockRenderManager.reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine. -
Uses of ResourceManager in net.minecraft.client.render.block.entity
Modifier and TypeMethodDescriptionvoid
BlockEntityRenderDispatcher.reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine. -
Uses of ResourceManager in net.minecraft.client.render.entity
Modifier and TypeFieldDescriptionprivate final ResourceManager
EntityRendererFactory.Context.resourceManager
Modifier and TypeMethodDescriptionvoid
EntityRenderDispatcher.reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine.ModifierConstructorDescriptionContext
(EntityRenderDispatcher renderDispatcher, ItemRenderer itemRenderer, BlockRenderManager blockRenderManager, HeldItemRenderer heldItemRenderer, ResourceManager resourceManager, EntityModelLoader modelLoader, TextRenderer textRenderer) -
Uses of ResourceManager in net.minecraft.client.render.entity.feature
Modifier and TypeFieldDescriptionprivate final ResourceManager
VillagerClothingFeatureRenderer.resourceManager
ModifierConstructorDescriptionVillagerClothingFeatureRenderer
(FeatureRendererContext<T, M> context, ResourceManager resourceManager, String entityType) -
Uses of ResourceManager in net.minecraft.client.render.entity.model
Modifier and TypeMethodDescriptionvoid
EntityModelLoader.reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine. -
Uses of ResourceManager in net.minecraft.client.render.item
Modifier and TypeMethodDescriptionvoid
BuiltinModelItemRenderer.reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine.void
ItemRenderer.reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine. -
Uses of ResourceManager in net.minecraft.client.render.model
Modifier 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
Modifier and TypeMethodDescriptionprotected void
FoliageColormapResourceSupplier.apply
(int[] int2, ResourceManager resourceManager, Profiler profiler) protected void
GrassColormapResourceSupplier.apply
(int[] int2, ResourceManager resourceManager, Profiler profiler) protected void
PeriodicNotificationManager.apply
(Map<String, List<PeriodicNotificationManager.Entry>> map, ResourceManager resourceManager, Profiler profiler) protected void
SplashTextResourceSupplier.apply
(List<String> list, ResourceManager resourceManager, Profiler profiler) protected void
VideoWarningManager.apply
(VideoWarningManager.WarningPatternLoader warningPatternLoader, ResourceManager resourceManager, Profiler profiler) private static @Nullable JsonObject
VideoWarningManager.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.WarningPatternLoader
VideoWarningManager.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
Modifier and TypeMethodDescriptionstatic TranslationStorage
TranslationStorage.load
(ResourceManager resourceManager, List<LanguageDefinition> definitions) void
LanguageManager.reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine. -
Uses of ResourceManager in net.minecraft.client.search
Modifier and TypeMethodDescriptionvoid
SearchManager.reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine. -
Uses of ResourceManager in net.minecraft.client.sound
Modifier and TypeMethodDescriptionprotected void
SoundManager.apply
(SoundManager.SoundList soundList, ResourceManager resourceManager, Profiler profiler) (package private) void
SoundManager.SoundList.findSounds
(ResourceManager resourceManager) protected SoundManager.SoundList
SoundManager.prepare
(ResourceManager resourceManager, Profiler profiler) -
Uses of ResourceManager in net.minecraft.client.texture
Modifier and TypeMethodDescriptionabstract void
AbstractTexture.load
(ResourceManager manager) void
NativeImageBackedTexture.load
(ResourceManager manager) void
PlayerSkinTexture.load
(ResourceManager manager) void
ResourceTexture.load
(ResourceManager manager) static ResourceTexture.TextureData
ResourceTexture.TextureData.load
(ResourceManager resourceManager, Identifier id) void
SpriteAtlasTexture.load
(ResourceManager manager) protected ResourceTexture.TextureData
AsyncTexture.loadTextureData
(ResourceManager resourceManager) protected ResourceTexture.TextureData
ResourceTexture.loadTextureData
(ResourceManager resourceManager) SpriteLoader.method_47661
(ResourceManager resourceManager, Identifier identifier, int int2, Executor executor) void
AbstractTexture.registerTexture
(TextureManager textureManager, ResourceManager resourceManager, Identifier id, Executor executor) void
AsyncTexture.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.ModifierConstructorDescriptionAsyncTexture
(ResourceManager resourceManager, Identifier id, Executor executor) TextureManager
(ResourceManager resourceManager) -
Uses of ResourceManager in net.minecraft.client.texture.atlas
Modifier and TypeMethodDescriptionvoid
AtlasSource.load
(ResourceManager resourceManager, AtlasSource.SpriteRegions regions) void
DirectoryAtlasSource.load
(ResourceManager resourceManager, AtlasSource.SpriteRegions regions) void
FilterAtlasSource.load
(ResourceManager resourceManager, AtlasSource.SpriteRegions regions) void
SingleAtlasSource.load
(ResourceManager resourceManager, AtlasSource.SpriteRegions regions) void
UnstitchAtlasSource.load
(ResourceManager resourceManager, AtlasSource.SpriteRegions regions) AtlasLoader.loadSources
(ResourceManager resourceManager) static AtlasLoader
AtlasLoader.of
(ResourceManager resourceManager, Identifier id) -
Uses of ResourceManager in net.minecraft.client.util
Modifier and TypeMethodDescriptionstatic int[]
RawTextureDataLoader.loadRawTextureData
(ResourceManager resourceManager, Identifier id) Deprecated. -
Uses of ResourceManager in net.minecraft.loot
Modifier and TypeMethodDescriptionprotected void
LootManager.apply
(Map<Identifier, JsonElement> map, ResourceManager resourceManager, Profiler profiler) -
Uses of ResourceManager in net.minecraft.loot.condition
Modifier and TypeMethodDescriptionprotected void
LootConditionManager.apply
(Map<Identifier, JsonElement> map, ResourceManager resourceManager, Profiler profiler) -
Uses of ResourceManager in net.minecraft.loot.function
Modifier and TypeMethodDescriptionprotected void
LootFunctionManager.apply
(Map<Identifier, JsonElement> map, ResourceManager resourceManager, Profiler profiler) -
Uses of ResourceManager in net.minecraft.recipe
Modifier and TypeMethodDescriptionprotected void
RecipeManager.apply
(Map<Identifier, JsonElement> map, ResourceManager resourceManager, Profiler profiler) -
Uses of ResourceManager in net.minecraft.registry
Modifier and TypeMethodDescription(package private) static <E> void
RegistryLoader.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) void
RegistryLoader.RegistryLoadable.load
(ResourceManager resourceManager, RegistryOps.RegistryInfoGetter registryInfoGetter) -
Uses of ResourceManager in net.minecraft.registry.tag
Modifier 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
Modifier and TypeInterfaceDescriptioninterface
A lifecycled resource manager is available until it is closed.Modifier and TypeClassDescriptionclass
A basic implementation of resource manager with a lifecycle.class
A resource manager that only loads resources for a specific namespace.class
A reloadable resource manager is always available to be accessed, and is the type used by the minecraft client instance.static enum
Modifier and TypeMethodDescriptionprotected abstract void
SinglePreparationResourceReloader.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) protected Map<Identifier,
JsonElement> JsonDataLoader.prepare
(ResourceManager resourceManager, Profiler profiler) protected abstract T
SinglePreparationResourceReloader.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.void
SynchronousResourceReloader.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 ResourceReload
SimpleResourceReload.start
(ResourceManager manager, List<ResourceReloader> reloaders, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage, boolean profiled) Starts a resource reload with the content from themanager
supplied to thereloaders
.ModifierConstructorDescriptionProfiledResourceReload
(ResourceManager manager, List<ResourceReloader> reloaders, Executor prepareExecutor, Executor applyExecutor, CompletableFuture<Unit> initialStage) protected
SimpleResourceReload
(Executor prepareExecutor, Executor applyExecutor, ResourceManager manager, List<ResourceReloader> reloaders, SimpleResourceReload.Factory<S> factory, CompletableFuture<Unit> initialStage) -
Uses of ResourceManager in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final ResourceManager
SaveLoading.LoadContextSupplierContext.resourceManager
The field for theresourceManager
record component.Modifier and TypeMethodDescriptionMinecraftServer.getResourceManager()
SaveLoading.LoadContextSupplierContext.resourceManager()
Returns the value of theresourceManager
record component.Modifier and TypeMethodDescriptionprotected void
ServerAdvancementLoader.apply
(Map<Identifier, JsonElement> map, ResourceManager resourceManager, Profiler profiler) private static DynamicRegistryManager.Immutable
SaveLoading.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) ModifierConstructorDescriptionLoadContextSupplierContext
(ResourceManager resourceManager, DataConfiguration dataConfiguration, DynamicRegistryManager.Immutable immutable, DynamicRegistryManager.Immutable immutable2) -
Uses of ResourceManager in net.minecraft.server.function
Modifier 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
Modifier and TypeFieldDescriptionprivate final ResourceManager
StructureContext.resourceManager
The field for theresourceManager
record component.private ResourceManager
StructureTemplateManager.resourceManager
Modifier and TypeMethodDescriptionStructureContext.resourceManager()
Returns the value of theresourceManager
record component.Modifier and TypeMethodDescriptionvoid
StructureTemplateManager.setResourceManager
(ResourceManager resourceManager) ModifierConstructorDescriptionStructureContext
(ResourceManager resourceManager, DynamicRegistryManager dynamicRegistryManager, StructureTemplateManager structureTemplateManager) StructureTemplateManager
(ResourceManager resourceManager, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, RegistryEntryLookup<Block> blockLookup)