Uses of Class
net.minecraft.resource.Resource
Packages that use Resource
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of Resource in net.minecraft.client.particle
Methods in net.minecraft.client.particle with parameters of type ResourceModifier and TypeMethodDescriptionprivate Optional<List<Identifier>>ParticleManager.loadTextureList(Identifier id, Resource resource) -
Uses of Resource in net.minecraft.client.render
Fields in net.minecraft.client.render with type parameters of type ResourceModifier and TypeFieldDescriptionprivate final Map<Identifier,Resource> GameRenderer.CachedResourceFactory.cacheThe field for thecacherecord component.Methods in net.minecraft.client.render that return types with arguments of type ResourceModifier and TypeMethodDescriptionGameRenderer.CachedResourceFactory.cache()Returns the value of thecacherecord component.GameRenderer.CachedResourceFactory.getResource(Identifier id) Finds and returns the corresponding resource for a resource's identifier.Constructor parameters in net.minecraft.client.render with type arguments of type ResourceModifierConstructorDescriptionCachedResourceFactory(ResourceFactory resourceFactory, Map<Identifier, Resource> map) -
Uses of Resource in net.minecraft.client.resource.language
Method parameters in net.minecraft.client.resource.language with type arguments of type Resource -
Uses of Resource in net.minecraft.client.sound
Fields in net.minecraft.client.sound with type parameters of type ResourceModifier and TypeFieldDescriptionprivate Map<Identifier,Resource> SoundManager.SoundList.foundSoundsprivate final Map<Identifier,Resource> SoundManager.soundResources -
Uses of Resource in net.minecraft.client.texture
Methods in net.minecraft.client.texture that return types with arguments of type ResourceModifier and TypeMethodDescriptionstatic Map<Identifier,Resource> SpriteLoader.findAllResources(ResourceManager resourceManager, String textureId) static Map<Identifier,Resource> SpriteLoader.findAllResources(ResourceManager resourceManager, String textureId, String prefix) Methods in net.minecraft.client.texture with parameters of type ResourceModifier and TypeMethodDescriptionprivate @Nullable SpriteContentsSpriteLoader.load(Identifier id, Resource resource) Method parameters in net.minecraft.client.texture with type arguments of type ResourceModifier and TypeMethodDescriptionstatic voidSpriteLoader.addResource(ResourceManager resourceManager, Identifier id, BiConsumer<Identifier, Resource> adder) static voidSpriteLoader.addResources(ResourceManager resourceManager, String textureId, String prefix, BiConsumer<Identifier, Resource> adder) static voidSpriteLoader.addResources(ResourceManager resourceManager, String textureId, BiConsumer<Identifier, Resource> adder) private CompletableFuture<List<SpriteContents>>SpriteLoader.loadAll(Map<Identifier, Resource> sprites, Executor executor) SpriteLoader.stitch(Map<Identifier, Resource> sprites, int mipmapLevels, Executor executor) -
Uses of Resource in net.minecraft.resource
Methods in net.minecraft.resource that return ResourceModifier and TypeMethodDescriptionprivate static ResourceNamespaceResourceManager.createResource(ResourcePack pack, Identifier id, InputSupplier<InputStream> supplier, InputSupplier<ResourceMetadata> metadataSupplier) default ResourceResourceFactory.getResourceOrThrow(Identifier id) Methods in net.minecraft.resource that return types with arguments of type ResourceModifier and TypeMethodDescriptionLifecycledResourceManagerImpl.findAllResources(String startingPath, Predicate<Identifier> allowedPathPredicate) NamespaceResourceManager.findAllResources(String startingPath, Predicate<Identifier> allowedPathPredicate) ReloadableResourceManagerImpl.findAllResources(String startingPath, Predicate<Identifier> allowedPathPredicate) ResourceFinder.findAllResources(ResourceManager resourceManager) ResourceManager.Empty.findAllResources(String startingPath, Predicate<Identifier> allowedPathPredicate) ResourceManager.findAllResources(String startingPath, Predicate<Identifier> allowedPathPredicate) LifecycledResourceManagerImpl.findResources(String startingPath, Predicate<Identifier> allowedPathPredicate) Returns a sorted list of identifiers matching a path predicate.NamespaceResourceManager.findResources(String startingPath, Predicate<Identifier> allowedPathPredicate) Returns a sorted list of identifiers matching a path predicate.ReloadableResourceManagerImpl.findResources(String startingPath, Predicate<Identifier> allowedPathPredicate) Returns a sorted list of identifiers matching a path predicate.ResourceFinder.findResources(ResourceManager resourceManager) ResourceManager.Empty.findResources(String startingPath, Predicate<Identifier> allowedPathPredicate) Returns a sorted list of identifiers matching a path predicate.ResourceManager.findResources(String startingPath, Predicate<Identifier> allowedPathPredicate) Returns a sorted list of identifiers matching a path predicate.LifecycledResourceManagerImpl.getAllResources(Identifier id) Gets all of the available resources to the corresponding resource identifier.NamespaceResourceManager.getAllResources(Identifier id) Gets all of the available resources to the corresponding resource identifier.ReloadableResourceManagerImpl.getAllResources(Identifier id) Gets all of the available resources to the corresponding resource identifier.ResourceManager.Empty.getAllResources(Identifier id) Gets all of the available resources to the corresponding resource identifier.ResourceManager.getAllResources(Identifier id) Gets all of the available resources to the corresponding resource identifier.LifecycledResourceManagerImpl.getResource(Identifier id) Finds and returns the corresponding resource for a resource's identifier.NamespaceResourceManager.getResource(Identifier id) Finds and returns the corresponding resource for a resource's identifier.ReloadableResourceManagerImpl.getResource(Identifier id) Finds and returns the corresponding resource for a resource's identifier.ResourceFactory.getResource(Identifier id) Finds and returns the corresponding resource for a resource's identifier.ResourceManager.Empty.getResource(Identifier id) Finds and returns the corresponding resource for a resource's identifier.Method parameters in net.minecraft.resource with type arguments of type ResourceModifier and TypeMethodDescriptionstatic ResourceFactoryResourceFactory.fromMap(Map<Identifier, Resource> map) -
Uses of Resource in net.minecraft.server.function
Methods in net.minecraft.server.function with parameters of type Resource