Uses of Class
net.minecraft.server.packs.resources.Resource
Package
Description
-
Uses of Resource in net.minecraft.client.gui.font
Modifier and TypeMethodDescriptionprivate static List<com.mojang.datafixers.util.Pair<FontManager.BuilderId,
GlyphProviderDefinition>> FontManager.loadResourceStack
(List<Resource> p_284976_, ResourceLocation p_285272_) -
Uses of Resource in net.minecraft.client.particle
Modifier and TypeMethodDescriptionprivate Optional<List<ResourceLocation>>
ParticleEngine.loadParticleDescription
(ResourceLocation p_250648_, Resource p_248793_) -
Uses of Resource in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Resource> GameRenderer.ResourceCache.cache
The field for thecache
record component.Modifier and TypeMethodDescriptionGameRenderer.ResourceCache.cache()
Returns the value of thecache
record component.GameRenderer.ResourceCache.getResource
(ResourceLocation p_251007_) ModifierConstructorDescriptionResourceCache
(ResourceProvider original, Map<ResourceLocation, Resource> cache) Creates an instance of aResourceCache
record class. -
Uses of Resource in net.minecraft.client.renderer.texture.atlas
Modifier and TypeMethodDescriptiondefault void
SpriteSource.Output.add
(ResourceLocation p_261841_, Resource p_261651_) default SpriteContents
SpriteResourceLoader.loadSprite
(ResourceLocation p_295581_, Resource p_294329_) SpriteResourceLoader.loadSprite
(ResourceLocation id, Resource resource, SpriteContentsConstructor constructor) -
Uses of Resource in net.minecraft.client.renderer.texture.atlas.sources
ModifierConstructorDescriptionLazyLoadedImage
(ResourceLocation p_267104_, Resource p_266995_, int p_266778_) -
Uses of Resource in net.minecraft.client.resources.language
-
Uses of Resource in net.minecraft.client.sounds
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
Resource> SoundManager.Preparations.soundCache
private final Map<ResourceLocation,
Resource> SoundManager.soundCache
-
Uses of Resource in net.minecraft.resources
Modifier and TypeMethodDescriptionFileToIdConverter.listMatchingResources
(ResourceManager p_252045_) FileToIdConverter.listMatchingResourceStacks
(ResourceManager p_249881_) -
Uses of Resource in net.minecraft.server
-
Uses of Resource in net.minecraft.server.packs.resources
Modifier and TypeMethodDescriptionprivate static Resource
FallbackResourceManager.createResource
(PackResources p_249946_, ResourceLocation p_250632_, IoSupplier<InputStream> p_250514_, IoSupplier<ResourceMetadata> p_251676_) default Resource
ResourceProvider.getResourceOrThrow
(ResourceLocation p_215594_) Modifier and TypeMethodDescriptionFallbackResourceManager.getResource
(ResourceLocation p_215419_) MultiPackResourceManager.getResource
(ResourceLocation p_215482_) ReloadableResourceManager.getResource
(ResourceLocation p_215494_) ResourceManager.Empty.getResource
(ResourceLocation p_215576_) ResourceProvider.getResource
(ResourceLocation p_215592_) FallbackResourceManager.getResourceStack
(ResourceLocation p_215367_) MultiPackResourceManager.getResourceStack
(ResourceLocation p_215466_) ReloadableResourceManager.getResourceStack
(ResourceLocation p_215486_) ResourceManager.Empty.getResourceStack
(ResourceLocation p_215568_) ResourceManager.getResourceStack
(ResourceLocation p_215562_) FallbackResourceManager.listResources
(String p_215413_, Predicate<ResourceLocation> p_215414_) MultiPackResourceManager.listResources
(String p_215476_, Predicate<ResourceLocation> p_215477_) ReloadableResourceManager.listResources
(String p_215488_, Predicate<ResourceLocation> p_215489_) ResourceManager.Empty.listResources
(String p_215570_, Predicate<ResourceLocation> p_215571_) ResourceManager.listResources
(String p_215563_, Predicate<ResourceLocation> p_215564_) FallbackResourceManager.listResourceStacks
(String p_215416_, Predicate<ResourceLocation> p_215417_) MultiPackResourceManager.listResourceStacks
(String p_215479_, Predicate<ResourceLocation> p_215480_) ReloadableResourceManager.listResourceStacks
(String p_215491_, Predicate<ResourceLocation> p_215492_) ResourceManager.Empty.listResourceStacks
(String p_215573_, Predicate<ResourceLocation> p_215574_) ResourceManager.listResourceStacks
(String p_215565_, Predicate<ResourceLocation> p_215566_) Modifier and TypeMethodDescriptionstatic ResourceProvider
ResourceProvider.fromMap
(Map<ResourceLocation, Resource> p_251819_) -
Uses of Resource in net.neoforged.neoforge.common.data
Modifier and TypeMethodDescriptionExistingFileHelper.getResource
(ResourceLocation loc, PackType packType) ExistingFileHelper.getResource
(ResourceLocation loc, PackType packType, String pathSuffix, String pathPrefix) Modifier and TypeMethodDescriptionExistingFileHelper.getResourceStack
(ResourceLocation loc, PackType packType) -
Uses of Resource in net.neoforged.neoforge.server
Modifier and TypeMethodDescriptionprivate static void
LanguageHook.loadLocaleData
(List<Resource> allResources)