Uses of Interface
net.minecraft.server.packs.resources.ResourceProvider
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of ResourceProvider in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionRegistryDataCollector.collectGameRegistries
(ResourceProvider p_326319_, RegistryAccess p_321556_, boolean p_321683_) RegistryDataCollector.ContentsCollector.loadRegistries
(ResourceProvider p_326039_, RegistryAccess p_321627_) Modifier and TypeMethodDescriptionprivate <T> T
ClientConfigurationPacketListenerImpl.runWithResources
(Function<ResourceProvider, T> p_325978_) -
Uses of ResourceProvider in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionprivate final ResourceProvider
GameRenderer.ResourceCache.original
The field for theoriginal
record component.private final ResourceProvider
PostChain.resourceProvider
Modifier and TypeMethodDescriptionGameRenderer.ResourceCache.original()
Returns the value of theoriginal
record component.Modifier and TypeMethodDescriptionstatic EffectProgram
EffectInstance.getOrCreate
(ResourceProvider p_330579_, Program.Type p_172568_, String p_172569_) private static Program
ShaderInstance.getOrCreate
(ResourceProvider p_173341_, Program.Type p_173342_, String p_173343_) private void
GameRenderer.loadBlurEffect
(ResourceProvider p_341650_) private ShaderInstance
GameRenderer.preloadShader
(ResourceProvider p_172725_, String p_172726_, VertexFormat p_172727_) void
GameRenderer.preloadUiShader
(ResourceProvider p_172723_) (package private) void
GameRenderer.reloadShaders
(ResourceProvider p_250719_) ModifierConstructorDescriptionEffectInstance
(ResourceProvider p_331011_, String p_108942_) PostChain
(TextureManager p_110018_, ResourceProvider p_330592_, RenderTarget p_110020_, ResourceLocation p_110021_) PostPass
(ResourceProvider p_331087_, String p_110062_, RenderTarget p_110063_, RenderTarget p_110064_, boolean p_333761_) ResourceCache
(ResourceProvider original, Map<ResourceLocation, Resource> cache) Creates an instance of aResourceCache
record class.ShaderInstance
(ResourceProvider p_173336_, String p_173337_, VertexFormat p_173338_) Deprecated.ShaderInstance
(ResourceProvider p_173336_, ResourceLocation shaderLocation, VertexFormat p_173338_) -
Uses of ResourceProvider in net.minecraft.client.sounds
Modifier and TypeFieldDescriptionprivate final ResourceProvider
SoundBufferLibrary.resourceManager
Modifier and TypeMethodDescription(package private) static boolean
SoundManager.validateSoundResource
(Sound p_250396_, ResourceLocation p_250879_, ResourceProvider p_248737_) ModifierConstructorDescriptionSoundBufferLibrary
(ResourceProvider p_248900_) SoundEngine
(SoundManager p_120236_, Options p_120237_, ResourceProvider p_249332_) -
Uses of ResourceProvider in net.minecraft.resources
Modifier and TypeMethodDescriptionstatic RegistryAccess.Frozen
RegistryDataLoader.load
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321642_, ResourceProvider p_326068_, RegistryAccess p_321850_, List<RegistryDataLoader.RegistryData<?>> p_321716_) (package private) static <E> void
RegistryDataLoader.loadContentsFromNetwork
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321633_, ResourceProvider p_326020_, RegistryOps.RegistryInfoLookup p_321801_, WritableRegistry<E> p_321671_, com.mojang.serialization.Decoder<E> p_321718_, Map<ResourceKey<?>, Exception> p_321625_) void
RegistryDataLoader.Loader.loadFromNetwork
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321562_, ResourceProvider p_326419_, RegistryOps.RegistryInfoLookup p_321617_) -
Uses of ResourceProvider in net.minecraft.server.packs
-
Uses of ResourceProvider in net.minecraft.server.packs.resources
Modifier and TypeInterfaceDescriptioninterface
interface
Modifier and TypeClassDescriptionclass
class
class
static enum
Modifier and TypeMethodDescriptionstatic ResourceProvider
ResourceProvider.fromMap
(Map<ResourceLocation, Resource> p_251819_) -
Uses of ResourceProvider in net.neoforged.neoforge.client.event
Modifier and TypeFieldDescriptionprivate final ResourceProvider
RegisterShadersEvent.resourceProvider
Modifier and TypeMethodDescriptionRegisterShadersEvent.getResourceProvider()
Returns the client-side resource provider.ModifierConstructorDescriptionRegisterShadersEvent
(ResourceProvider resourceProvider, List<com.mojang.datafixers.util.Pair<ShaderInstance, Consumer<ShaderInstance>>> shaderList)