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
Methods in net.minecraft.client.gl with parameters of type ResourceFactoryModifier and TypeMethodDescriptionprivate CompiledShader
ShaderLoader.compileShader
(ResourceFactory factory, Identifier id, CompiledShader.Type type, Defines defines) void
ShaderLoader.preload
(ResourceFactory factory, ShaderProgramKey[] keys) -
Uses of ResourceFactory in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type ResourceFactoryModifier and TypeMethodDescriptionprivate DynamicRegistryManager
ClientRegistries.createRegistryManager
(ResourceFactory resourceFactory, ClientRegistries.DynamicRegistries dynamicRegistries, boolean local) ClientRegistries.createRegistryManager
(ResourceFactory resourceFactory, DynamicRegistryManager.Immutable registryManager, boolean local) Method parameters in net.minecraft.client.network with type arguments of type ResourceFactoryModifier and TypeMethodDescriptionprivate <T> T
ClientConfigurationNetworkHandler.openClientDataPack
(Function<ResourceFactory, T> opener) -
Uses of ResourceFactory in net.minecraft.client.render
Methods in net.minecraft.client.render with parameters of type ResourceFactory -
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 boolean
SoundManager.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 TypeMethodDescriptionvoid
RegistryLoader.Loader.loadFromNetwork
(Map<RegistryKey<? extends Registry<?>>, RegistryLoader.ElementsAndTags> data, ResourceFactory factory, RegistryOps.RegistryInfoGetter infoGetter) RegistryLoader.loadFromNetwork
(Map<RegistryKey<? extends Registry<?>>, RegistryLoader.ElementsAndTags> data, ResourceFactory factory, List<RegistryWrapper.Impl<?>> registries, List<RegistryLoader.Entry<?>> entries) (package private) static <E> void
RegistryLoader.loadFromNetwork
(Map<RegistryKey<? extends Registry<?>>, RegistryLoader.ElementsAndTags> 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 TypeInterfaceDescriptioninterface
A lifecycled resource manager is available until it is closed.interface
Provides resource loading capabilities to Minecraft.Classes in net.minecraft.resource that implement ResourceFactoryModifier 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
Fields in net.minecraft.resource declared as ResourceFactoryMethods in net.minecraft.resource that return ResourceFactoryModifier and TypeMethodDescriptionstatic ResourceFactory
ResourceFactory.fromMap
(Map<Identifier, Resource> map) DefaultResourcePack.getFactory()