Uses of Interface
net.minecraft.resource.ResourceFactory
Packages that use ResourceFactory
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourceFactory in net.minecraft.client.gl
Fields in net.minecraft.client.gl declared as ResourceFactoryModifier and TypeFieldDescriptionprivate final ResourceFactoryPostEffectProcessor.resourceFactoryMethods in net.minecraft.client.gl with parameters of type ResourceFactoryModifier and TypeMethodDescriptionstatic EffectShaderStageJsonEffectShaderProgram.loadEffect(ResourceFactory resourceFactory, ShaderStage.Type type, String name) private static ShaderStageShaderProgram.loadShader(ResourceFactory factory, ShaderStage.Type type, String name) Constructors in net.minecraft.client.gl with parameters of type ResourceFactoryModifierConstructorDescriptionJsonEffectShaderProgram(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
Methods in net.minecraft.client.network with parameters of type ResourceFactoryModifier and TypeMethodDescriptionClientRegistries.createRegistryManager(ResourceFactory factory, DynamicRegistryManager registryManager, boolean local) ClientRegistries.DynamicRegistries.load(ResourceFactory factory, DynamicRegistryManager registryManager) Method parameters in net.minecraft.client.network with type arguments of type ResourceFactoryModifier and TypeMethodDescriptionprivate <T> TClientConfigurationNetworkHandler.openClientDataPack(Function<ResourceFactory, T> opener) -
Uses of ResourceFactory in net.minecraft.client.render
Classes in net.minecraft.client.render that implement ResourceFactoryFields in net.minecraft.client.render declared as ResourceFactoryModifier and TypeFieldDescriptionprivate final ResourceFactoryGameRenderer.CachedResourceFactory.originalThe field for theoriginalrecord component.Methods in net.minecraft.client.render that return ResourceFactoryModifier and TypeMethodDescriptionGameRenderer.CachedResourceFactory.original()Returns the value of theoriginalrecord component.Methods in net.minecraft.client.render with parameters of type ResourceFactoryModifier and TypeMethodDescriptionprivate voidGameRenderer.loadBlurPostProcessor(ResourceFactory resourceFactory) (package private) voidGameRenderer.loadPrograms(ResourceFactory factory) private ShaderProgramGameRenderer.preloadProgram(ResourceFactory factory, String name, VertexFormat format) voidGameRenderer.preloadPrograms(ResourceFactory factory) Constructors in net.minecraft.client.render with parameters of type ResourceFactoryModifierConstructorDescriptionCachedResourceFactory(ResourceFactory resourceFactory, Map<Identifier, Resource> map) -
Uses of ResourceFactory in net.minecraft.client.sound
Fields in net.minecraft.client.sound declared as ResourceFactoryMethods in net.minecraft.client.sound with parameters of type ResourceFactoryModifier and TypeMethodDescription(package private) static booleanSoundManager.isSoundResourcePresent(Sound sound, Identifier id, ResourceFactory resourceFactory) Constructors in net.minecraft.client.sound with parameters of type ResourceFactoryModifierConstructorDescriptionSoundLoader(ResourceFactory resourceFactory) SoundSystem(SoundManager loader, GameOptions settings, ResourceFactory resourceFactory) -
Uses of ResourceFactory in net.minecraft.registry
Methods in net.minecraft.registry with parameters of type ResourceFactoryModifier and TypeMethodDescriptionvoidRegistryLoader.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> voidRegistryLoader.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
Subinterfaces of ResourceFactory in net.minecraft.resourceModifier and TypeInterfaceDescriptioninterfaceA lifecycled resource manager is available until it is closed.interfaceProvides resource loading capabilities to Minecraft.Classes in net.minecraft.resource that implement ResourceFactoryModifier 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 enumFields in net.minecraft.resource declared as ResourceFactoryMethods in net.minecraft.resource that return ResourceFactoryModifier and TypeMethodDescriptionstatic ResourceFactoryResourceFactory.fromMap(Map<Identifier, Resource> map) DefaultResourcePack.getFactory()