Uses of Interface
net.minecraft.resource.ResourceFactory
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourceFactory in net.minecraft.client.gl
Modifier and TypeFieldDescriptionprivate final ResourceFactory
PostEffectProcessor.resourceFactory
Modifier and TypeMethodDescriptionstatic EffectShaderStage
JsonEffectShaderProgram.loadEffect
(ResourceFactory resourceFactory, ShaderStage.Type type, String name) private static ShaderStage
ShaderProgram.loadShader
(ResourceFactory factory, ShaderStage.Type type, String name) ModifierConstructorDescriptionJsonEffectShaderProgram
(ResourceFactory factory, String name) PostEffectPass
(ResourceFactory resourceFactory, String programName, Framebuffer input, Framebuffer output, boolean linear) PostEffectProcessor
(TextureManager textureManager, ResourceFactory resourceFactory, Framebuffer framebuffer, Identifier id) ShaderProgram
(ResourceFactory factory, String name, VertexFormat format) -
Uses of ResourceFactory in net.minecraft.client.network
Modifier and TypeMethodDescriptionClientRegistries.createRegistryManager
(ResourceFactory factory, DynamicRegistryManager registryManager, boolean local) ClientRegistries.DynamicRegistries.load
(ResourceFactory factory, DynamicRegistryManager registryManager) Modifier and TypeMethodDescriptionprivate <T> T
ClientConfigurationNetworkHandler.openClientDataPack
(Function<ResourceFactory, T> opener) -
Uses of ResourceFactory in net.minecraft.client.render
Modifier and TypeFieldDescriptionprivate final ResourceFactory
GameRenderer.CachedResourceFactory.original
The field for theoriginal
record component.Modifier and TypeMethodDescriptionGameRenderer.CachedResourceFactory.original()
Returns the value of theoriginal
record component.Modifier and TypeMethodDescriptionprivate void
GameRenderer.loadBlurPostProcessor
(ResourceFactory resourceFactory) (package private) void
GameRenderer.loadPrograms
(ResourceFactory factory) private ShaderProgram
GameRenderer.preloadProgram
(ResourceFactory factory, String name, VertexFormat format) void
GameRenderer.preloadPrograms
(ResourceFactory factory) ModifierConstructorDescriptionCachedResourceFactory
(ResourceFactory resourceFactory, Map<Identifier, Resource> map) -
Uses of ResourceFactory in net.minecraft.client.sound
Modifier and TypeMethodDescription(package private) static boolean
SoundManager.isSoundResourcePresent
(Sound sound, Identifier id, ResourceFactory resourceFactory) ModifierConstructorDescriptionSoundLoader
(ResourceFactory resourceFactory) SoundSystem
(SoundManager loader, GameOptions settings, ResourceFactory resourceFactory) -
Uses of ResourceFactory in net.minecraft.registry
Modifier and TypeMethodDescriptionvoid
RegistryLoader.Loader.loadFromNetwork
(Map<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> data, ResourceFactory factory, RegistryOps.RegistryInfoGetter infoGetter) RegistryLoader.loadFromNetwork
(Map<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> data, ResourceFactory factory, DynamicRegistryManager registryManager, List<RegistryLoader.Entry<?>> entries) (package private) static <E> void
RegistryLoader.loadFromNetwork
(Map<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> data, ResourceFactory factory, RegistryOps.RegistryInfoGetter infoGetter, MutableRegistry<E> registry, com.mojang.serialization.Decoder<E> decoder, Map<RegistryKey<?>, Exception> loadingErrors) -
Uses of ResourceFactory in net.minecraft.resource
Modifier and TypeInterfaceDescriptioninterface
A lifecycled resource manager is available until it is closed.interface
Provides resource loading capabilities to Minecraft.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 TypeMethodDescriptionstatic ResourceFactory
ResourceFactory.fromMap
(Map<Identifier, Resource> map) DefaultResourcePack.getFactory()