Uses of Class
net.minecraft.server.packs.resources.Resource
Package
Description
-
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
Modifier and TypeMethodDescriptionstatic SpriteContents
SpriteLoader.loadSprite
(ResourceLocation p_251630_, Resource p_250558_) -
Uses of Resource in net.minecraft.client.renderer.texture.atlas
Modifier and TypeMethodDescriptiondefault void
SpriteSource.Output.add
(ResourceLocation p_261841_, Resource p_261651_) -
Uses of Resource in net.minecraft.client.renderer.texture.atlas.sources
ModifierConstructorDescription(package private)
LazyLoadedImage
(ResourceLocation p_261579_, Resource p_262172_, int p_261817_) -
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.minecraftforge.client
Modifier and TypeMethodDescriptionstatic @Nullable SpriteContents
ForgeHooksClient.loadSpriteContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta) -
Uses of Resource in net.minecraftforge.client.textures
Modifier and TypeMethodDescriptionstatic ForgeTextureMetadata
ForgeTextureMetadata.forResource
(Resource resource) ITextureAtlasSpriteLoader.loadContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta) -
Uses of Resource in net.minecraftforge.common.data
Modifier and TypeMethodDescriptionExistingFileHelper.getResource
(ResourceLocation loc, PackType packType) ExistingFileHelper.getResource
(ResourceLocation loc, PackType packType, String pathSuffix, String pathPrefix) -
Uses of Resource in net.minecraftforge.debug.client
Modifier and TypeMethodDescriptionCustomTASTest.TasLoader.loadContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta) -
Uses of Resource in net.minecraftforge.server
Modifier and TypeMethodDescriptionprivate static void
LanguageHook.loadLocaleData
(List<Resource> allResources)