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 Font
BitmapFont.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) private Font
TrueTypeFontLoader.load
(ResourceManager resourceManager) private Font
UnihexFont.Loader.load
(ResourceManager resourceManager) FontManager.loadIndex
(ResourceManager resourceManager, Executor executor) FontManager.reload
(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Executor prepareExecutor, Executor applyExecutor) Performs a reload. -
Uses of ResourceManager in net.minecraft.client.gl
Methods in net.minecraft.client.gl with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected void
ShaderLoader.apply
(ShaderLoader.Definitions definitions, ResourceManager resourceManager, Profiler profiler) protected ShaderLoader.Definitions
ShaderLoader.prepare
(ResourceManager resourceManager, Profiler profiler) -
Uses of ResourceManager in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen with parameters of type ResourceManagerModifier and TypeMethodDescriptionSplashOverlay.LogoTexture.loadContents
(ResourceManager resourceManager) -
Uses of ResourceManager in net.minecraft.client.item
Methods in net.minecraft.client.item with parameters of type ResourceManagerModifier and TypeMethodDescriptionItemAssetsLoader.load
(ResourceManager resourceManager, Executor executor) -
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, 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 void
BuyRealmsScreen.refreshImages
(ResourceManager resourceManager) -
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 TypeMethodDescriptionprotected void
CloudRenderer.apply
(Optional<CloudRenderer.CloudCells> optional, ResourceManager resourceManager, Profiler profiler) protected Optional
<CloudRenderer.CloudCells> CloudRenderer.prepare
(ResourceManager resourceManager, Profiler profiler) void
WorldRenderer.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 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
Methods in net.minecraft.client.render.block.entity with parameters of type ResourceManagerModifier 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
Fields in net.minecraft.client.render.entity declared as ResourceManagerModifier and TypeFieldDescriptionprivate final ResourceManager
EntityRendererFactory.Context.resourceManager
Methods in net.minecraft.client.render.entity that return ResourceManagerMethods in net.minecraft.client.render.entity with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoid
EntityRenderDispatcher.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, ItemModelManager itemRenderer, MapRenderer mapRenderer, BlockRenderManager blockRenderManager, ResourceManager resourceManager, LoadedEntityModels entityModels, EquipmentModelLoader equipmentModelLoader, TextRenderer textRenderer) -
Uses of ResourceManager in net.minecraft.client.render.entity.equipment
Methods in net.minecraft.client.render.entity.equipment with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected void
EquipmentModelLoader.apply
(Map<Identifier, EquipmentModel> map, ResourceManager resourceManager, Profiler profiler) -
Uses of ResourceManager in net.minecraft.client.render.entity.feature
Fields in net.minecraft.client.render.entity.feature declared as ResourceManagerModifier and TypeFieldDescriptionprivate final ResourceManager
VillagerClothingFeatureRenderer.resourceManager
Constructors in net.minecraft.client.render.entity.feature with parameters of type ResourceManagerModifierConstructorDescriptionVillagerClothingFeatureRenderer
(FeatureRendererContext<S, M> context, ResourceManager resourceManager, String entityType) -
Uses of ResourceManager in net.minecraft.client.render.model
Methods in net.minecraft.client.render.model with parameters of type ResourceManagerModifier and TypeMethodDescriptionBlockStatesLoader.load
(UnbakedModel missingModel, ResourceManager resourceManager, Executor executor) final CompletableFuture
<Void> BakedModelManager.reload
(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Executor prepareExecutor, Executor applyExecutor) Performs a reload.SpriteAtlasManager.reload
(ResourceManager resourceManager, int mipmapLevels, Executor executor) private static CompletableFuture
<Map<Identifier, UnbakedModel>> 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 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
Methods in net.minecraft.client.resource.language with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic TranslationStorage
TranslationStorage.load
(ResourceManager resourceManager, List<String> definitions, boolean rightToLeft) void
LanguageManager.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 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
Fields in net.minecraft.client.texture declared as ResourceManagerMethods in net.minecraft.client.texture with parameters of type ResourceManagerModifier and TypeMethodDescriptionSpriteLoader.load
(ResourceManager resourceManager, Identifier path, int mipLevel, Executor executor) SpriteLoader.load
(ResourceManager resourceManager, Identifier path, int mipLevel, Executor executor, Collection<ResourceMetadataSerializer<?>> metadatas) static TextureContents
TextureContents.load
(ResourceManager resourceManager, Identifier textureId) abstract TextureContents
ReloadableTexture.loadContents
(ResourceManager resourceManager) ResourceTexture.loadContents
(ResourceManager resourceManager) private static TextureContents
TextureManager.loadTexture
(ResourceManager resourceManager, Identifier textureId, ReloadableTexture texture) final CompletableFuture
<Void> SpriteAtlasHolder.reload
(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Executor prepareExecutor, Executor applyExecutor) Performs a reload.TextureManager.reload
(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Executor prepareExecutor, Executor applyExecutor) Performs a reload.private static TextureManager.ReloadedTexture
TextureManager.reloadTexture
(ResourceManager resourceManager, Identifier textureId, ReloadableTexture texture, Executor prepareExecutor) Constructors in net.minecraft.client.texture with parameters of type ResourceManager -
Uses of ResourceManager in net.minecraft.client.texture.atlas
Methods in net.minecraft.client.texture.atlas with parameters of type ResourceManagerModifier 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
PalettedPermutationsAtlasSource.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) private static int[]
PalettedPermutationsAtlasSource.open
(ResourceManager resourceManager, Identifier texture) -
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.recipe
Methods in net.minecraft.recipe with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected void
ServerRecipeManager.apply
(PreparedRecipes preparedRecipes, ResourceManager resourceManager, Profiler profiler) protected PreparedRecipes
ServerRecipeManager.prepare
(ResourceManager resourceManager, Profiler profiler) -
Uses of ResourceManager in net.minecraft.registry
Methods in net.minecraft.registry with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoid
RegistryLoader.Loader.loadFromResource
(ResourceManager resourceManager, RegistryOps.RegistryInfoGetter infoGetter) RegistryLoader.loadFromResource
(ResourceManager resourceManager, List<RegistryWrapper.Impl<?>> registries, List<RegistryLoader.Entry<?>> entries) (package private) static <E> void
RegistryLoader.loadFromResource
(ResourceManager resourceManager, RegistryOps.RegistryInfoGetter infoGetter, MutableRegistry<E> registry, com.mojang.serialization.Decoder<E> elementDecoder, Map<RegistryKey<?>, Exception> errors) private static <T> CompletableFuture
<MutableRegistry<?>> ReloadableRegistries.prepare
(LootDataType<T> type, RegistryOps<JsonElement> ops, ResourceManager resourceManager, Executor prepareExecutor) ReloadableRegistries.reload
(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, List<Registry.PendingTagLoad<?>> pendingTagLoads, ResourceManager resourceManager, Executor prepareExecutor) -
Uses of ResourceManager in net.minecraft.registry.tag
Methods in net.minecraft.registry.tag with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic <T> void
TagGroupLoader.loadInitial
(ResourceManager resourceManager, MutableRegistry<T> registry) TagGroupLoader.loadTags
(ResourceManager resourceManager) static List
<Registry.PendingTagLoad<?>> TagGroupLoader.startReload
(ResourceManager resourceManager, DynamicRegistryManager registryManager) private static <T> Optional
<Registry.PendingTagLoad<T>> TagGroupLoader.startReload
(ResourceManager resourceManager, Registry<T> registry) -
Uses of ResourceManager in net.minecraft.resource
Subinterfaces of ResourceManager in net.minecraft.resourceModifier and TypeInterfaceDescriptioninterface
A lifecycled resource manager is available until it is closed.Classes in net.minecraft.resource that implement ResourceManagerModifier 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
Methods in net.minecraft.resource with parameters of type ResourceManagerModifier 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) static <T> void
JsonDataLoader.load
(ResourceManager manager, RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.DynamicOps<JsonElement> ops, com.mojang.serialization.Codec<T> codec, Map<Identifier, T> results) static <T> void
JsonDataLoader.load
(ResourceManager manager, ResourceFinder finder, com.mojang.serialization.DynamicOps<JsonElement> ops, com.mojang.serialization.Codec<T> codec, Map<Identifier, T> results) protected Map
<Identifier, T> 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, Executor prepareExecutor, Executor applyExecutor) Performs a reload.final CompletableFuture
<Void> SinglePreparationResourceReloader.reload
(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, 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, 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
.Constructors in net.minecraft.resource with parameters of type ResourceManagerModifierConstructorDescriptionProfiledResourceReload
(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
Fields in net.minecraft.server declared as ResourceManagerModifier and TypeFieldDescriptionprivate final ResourceManager
SaveLoading.LoadContextSupplierContext.resourceManager
The field for theresourceManager
record component.Methods in net.minecraft.server that return ResourceManagerModifier and TypeMethodDescriptionMinecraftServer.getResourceManager()
SaveLoading.LoadContextSupplierContext.resourceManager()
Returns the value of theresourceManager
record component.Methods in net.minecraft.server with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected void
ServerAdvancementLoader.apply
(Map<Identifier, Advancement> map, ResourceManager resourceManager, Profiler profiler) static CompletableFuture
<DataPackContents> DataPackContents.reload
(ResourceManager resourceManager, CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistries, List<Registry.PendingTagLoad<?>> pendingTagLoads, FeatureSet enabledFeatures, CommandManager.RegistrationEnvironment environment, int functionPermissionLevel, Executor prepareExecutor, Executor applyExecutor) Reloads the data packs contents.Constructors in net.minecraft.server with parameters of type ResourceManagerModifierConstructorDescriptionLoadContextSupplierContext
(ResourceManager resourceManager, DataConfiguration dataConfiguration, RegistryWrapper.WrapperLookup wrapperLookup, DynamicRegistryManager.Immutable immutable) -
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, 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 ResourceManager
StructureContext.resourceManager
The field for theresourceManager
record component.private ResourceManager
StructureTemplateManager.resourceManager
Methods in net.minecraft.structure that return ResourceManagerModifier and TypeMethodDescriptionStructureContext.resourceManager()
Returns the value of theresourceManager
record component.Methods in net.minecraft.structure with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoid
StructureTemplateManager.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)