Uses of Class
net.minecraft.server.packs.resources.Resource
Packages that use Resource
Package
Description
-
Uses of Resource in net.minecraft.client.particle
Methods in net.minecraft.client.particle with parameters of type ResourceModifier and TypeMethodDescriptionprivate Optional<List<ResourceLocation>>
ParticleEngine.loadParticleDescription
(ResourceLocation p_250648_, Resource p_248793_) -
Uses of Resource in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer with type parameters of type ResourceModifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Resource> GameRenderer.ResourceCache.cache
The field for thecache
record component.Methods in net.minecraft.client.renderer that return types with arguments of type ResourceModifier and TypeMethodDescriptionGameRenderer.ResourceCache.cache()
Returns the value of thecache
record component.GameRenderer.ResourceCache.getResource
(ResourceLocation p_251007_) Constructor parameters in net.minecraft.client.renderer with type arguments of type ResourceModifierConstructorDescriptionResourceCache
(ResourceProvider original, Map<ResourceLocation, Resource> cache) Creates an instance of aResourceCache
record class. -
Uses of Resource in net.minecraft.client.renderer.texture
Methods in net.minecraft.client.renderer.texture with parameters of type ResourceModifier and TypeMethodDescriptionstatic SpriteContents
SpriteLoader.loadSprite
(ResourceLocation p_251630_, Resource p_250558_) -
Uses of Resource in net.minecraft.client.renderer.texture.atlas
Methods in net.minecraft.client.renderer.texture.atlas with parameters of type ResourceModifier and TypeMethodDescriptiondefault void
SpriteSource.Output.add
(ResourceLocation p_261841_, Resource p_261651_) -
Uses of Resource in net.minecraft.client.renderer.texture.atlas.sources
Fields in net.minecraft.client.renderer.texture.atlas.sources declared as ResourceConstructors in net.minecraft.client.renderer.texture.atlas.sources with parameters of type ResourceModifierConstructorDescription(package private)
LazyLoadedImage
(ResourceLocation p_261579_, Resource p_262172_, int p_261817_) -
Uses of Resource in net.minecraft.client.resources.language
Method parameters in net.minecraft.client.resources.language with type arguments of type Resource -
Uses of Resource in net.minecraft.client.sounds
Fields in net.minecraft.client.sounds with type parameters of type ResourceModifier and TypeFieldDescriptionprivate Map<ResourceLocation,
Resource> SoundManager.Preparations.soundCache
private final Map<ResourceLocation,
Resource> SoundManager.soundCache
-
Uses of Resource in net.minecraft.resources
Methods in net.minecraft.resources that return types with arguments of type ResourceModifier and TypeMethodDescriptionFileToIdConverter.listMatchingResources
(ResourceManager p_252045_) FileToIdConverter.listMatchingResourceStacks
(ResourceManager p_249881_) -
Uses of Resource in net.minecraft.server
Methods in net.minecraft.server with parameters of type Resource -
Uses of Resource in net.minecraft.server.packs.resources
Methods in net.minecraft.server.packs.resources that return ResourceModifier 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_) Methods in net.minecraft.server.packs.resources that return types with arguments of type ResourceModifier 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_) Method parameters in net.minecraft.server.packs.resources with type arguments of type ResourceModifier and TypeMethodDescriptionstatic ResourceProvider
ResourceProvider.fromMap
(Map<ResourceLocation, Resource> p_251819_) -
Uses of Resource in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type ResourceModifier and TypeMethodDescriptionstatic @Nullable SpriteContents
ForgeHooksClient.loadSpriteContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta) -
Uses of Resource in net.minecraftforge.client.textures
Methods in net.minecraftforge.client.textures with parameters of type ResourceModifier 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
Methods in net.minecraftforge.common.data that return ResourceModifier 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
Methods in net.minecraftforge.debug.client with parameters of type ResourceModifier and TypeMethodDescriptionCustomTASTest.TasLoader.loadContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta) -
Uses of Resource in net.minecraftforge.server
Method parameters in net.minecraftforge.server with type arguments of type ResourceModifier and TypeMethodDescriptionprivate static void
LanguageHook.loadLocaleData
(List<Resource> allResources)