Uses of Interface
net.minecraft.resource.ResourceManager
Package
Description
Provides resources to Minecraft, including resource access and provision.
-
Uses of ResourceManager in net.minecraft.client
Modifier and TypeMethodDescriptionstatic SaveProperties
MinecraftClient.createSaveProperties
(LevelStorage.Session session, DynamicRegistryManager.Impl registryTracker, ResourceManager resourceManager, DataPackSettings dataPackSettings) Modifier and TypeMethodDescriptionMinecraftClient.createIntegratedResourceManager
(DynamicRegistryManager.Impl registryManager, Function<LevelStorage.Session, DataPackSettings> dataPackSettingsGetter, com.mojang.datafixers.util.Function4<LevelStorage.Session, DynamicRegistryManager.Impl, ResourceManager, DataPackSettings, SaveProperties> savePropertiesGetter, boolean safeMode, LevelStorage.Session storageSession) private void
MinecraftClient.startIntegratedServer
(String worldName, DynamicRegistryManager.Impl registryTracker, Function<LevelStorage.Session, DataPackSettings> dataPackSettingsGetter, com.mojang.datafixers.util.Function4<LevelStorage.Session, DynamicRegistryManager.Impl, ResourceManager, DataPackSettings, SaveProperties> savePropertiesGetter, boolean safeMode, MinecraftClient.WorldLoadAction worldLoadAction) -
Uses of ResourceManager in net.minecraft.client.font
Modifier and TypeFieldDescriptionprivate final ResourceManager
UnicodeTextureFont.resourceManager
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 TypeMethodDescriptionstatic EffectProgram
JsonEffectGlShader.loadEffect
(ResourceManager resourceManager, Program.Type type, String name) ModifierConstructorDescriptionJsonEffectGlShader
(ResourceManager resource, String name) PostProcessShader
(ResourceManager resourceManager, String programName, Framebuffer input, Framebuffer output) ShaderEffect
(TextureManager textureManager, ResourceManager resourceManager, Framebuffer framebuffer, Identifier location) -
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 TypeMethodDescriptionprivate void
ParticleManager.loadTextureList
(ResourceManager resourceManager, Identifier id, Map<Identifier, List<Identifier>> result) ParticleManager.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
GameRenderer.loadShaders
(ResourceManager manager) void
GameRenderer.reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine.void
WorldRenderer.reload
(ResourceManager manager) Performs the reload in the apply executor, or the game engine.ModifierConstructorDescriptionGameRenderer
(MinecraftClient client, 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, 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 TypeMethodDescriptionprotected void
BakedModelManager.apply
(ModelLoader modelLoader, ResourceManager resourceManager, Profiler profiler) protected ModelLoader
BakedModelManager.prepare
(ResourceManager resourceManager, Profiler profiler) ModifierConstructorDescriptionModelLoader
(ResourceManager resourceManager, BlockColors blockColors, Profiler profiler, int int2) -
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
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) 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) static boolean
SoundManager.isSoundResourcePresent
(Sound sound, Identifier id, ResourceManager resourceManager) protected SoundManager.SoundList
SoundManager.prepare
(ResourceManager resourceManager, Profiler profiler) (package private) void
SoundManager.SoundList.register
(Identifier id, SoundEntry entry, ResourceManager resourceManager) ModifierConstructorDescriptionSoundLoader
(ResourceManager resourceManager) SoundManager
(ResourceManager resourceManager, GameOptions gameOptions) SoundSystem
(SoundManager loader, GameOptions settings, ResourceManager resourceManager) -
Uses of ResourceManager in net.minecraft.client.texture
Modifier and TypeMethodDescriptionprotected void
SpriteAtlasHolder.apply
(SpriteAtlasTexture.Data data, ResourceManager resourceManager, Profiler profiler) abstract 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) SpriteAtlasTexture.loadSprite
(ResourceManager container, Sprite.Info info, int atlasWidth, int atlasHeight, int maxLevel, int x, int y) private Collection<Sprite.Info>
SpriteAtlasTexture.loadSprites
(ResourceManager resourceManager, Set<Identifier> ids) SpriteAtlasTexture.loadSprites
(ResourceManager resourceManager, TextureStitcher textureStitcher, int maxLevel) protected ResourceTexture.TextureData
AsyncTexture.loadTextureData
(ResourceManager resourceManager) protected ResourceTexture.TextureData
ResourceTexture.loadTextureData
(ResourceManager resourceManager) protected SpriteAtlasTexture.Data
SpriteAtlasHolder.prepare
(ResourceManager resourceManager, Profiler profiler) void
AbstractTexture.registerTexture
(TextureManager textureManager, ResourceManager resourceManager, Identifier id, Executor executor) void
AsyncTexture.registerTexture
(TextureManager textureManager, ResourceManager resourceManager, Identifier id, Executor executor) TextureManager.reload
(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload.SpriteAtlasTexture.stitch
(ResourceManager resourceManager, Stream<Identifier> idStream, Profiler profiler, int mipmapLevel) ModifierConstructorDescriptionAsyncTexture
(ResourceManager resourceManager, Identifier id, Executor executor) TextureManager
(ResourceManager resourceManager) -
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.resource
Modifier and TypeInterfaceDescriptioninterface
A resource manager that has a reload mechanism.Modifier and TypeClassDescriptionclass
class
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) 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.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 TypeMethodDescriptionprotected void
ServerAdvancementLoader.apply
(Map<Identifier, JsonElement> map, ResourceManager resourceManager, Profiler profiler) -
Uses of ResourceManager in net.minecraft.server.function
Modifier and TypeMethodDescriptionFunctionLoader.readLines
(ResourceManager resourceManager, Identifier id) FunctionLoader.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
StructureManager.resourceManager
Modifier and TypeMethodDescriptionStructureContext.resourceManager()
Returns the value of theresourceManager
record component.Modifier and TypeMethodDescriptionvoid
StructureManager.setResourceManager
(ResourceManager resourceManager) ModifierConstructorDescriptionStructureContext
(ResourceManager resourceManager, DynamicRegistryManager dynamicRegistryManager, StructureManager structureManager) StructureManager
(ResourceManager resourceManager, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer) -
Uses of ResourceManager in net.minecraft.tag
Modifier and TypeMethodDescriptionprivate <T> @Nullable TagManagerLoader.RequiredGroup<T>
TagManagerLoader.buildRequiredGroup
(ResourceManager resourceManager, Executor prepareExecutor, RequiredTagList<T> requirement) TagGroupLoader.load
(ResourceManager manager) TagGroupLoader.loadTags
(ResourceManager manager) TagManagerLoader.reload
(ResourceReloader.Synchronizer synchronizer, ResourceManager manager, Profiler prepareProfiler, Profiler applyProfiler, Executor prepareExecutor, Executor applyExecutor) Performs a reload. -
Uses of ResourceManager in net.minecraft.util.dynamic
Modifier and TypeMethodDescriptionstatic <T> RegistryOps<T>
RegistryOps.of
(com.mojang.serialization.DynamicOps<T> delegate, ResourceManager resourceManager, DynamicRegistryManager registryManager) static <T> RegistryOps<T>
RegistryOps.ofLoaded
(com.mojang.serialization.DynamicOps<T> ops, ResourceManager resourceManager, DynamicRegistryManager registryManager) static EntryLoader
EntryLoader.resourceBacked
(ResourceManager resourceManager)