Uses of Class
net.minecraft.server.packs.resources.Resource
Packages that use Resource
Package
Description
-
Uses of Resource in net.minecraft.client.gui.font
Method parameters in net.minecraft.client.gui.font with type arguments of type ResourceModifier and TypeMethodDescriptionprivate static List<com.mojang.datafixers.util.Pair<FontManager.BuilderId, GlyphProviderDefinition.Conditional>> FontManager.loadResourceStack(List<Resource> p_284976_, ResourceLocation p_285272_) -
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.cacheThe field for thecacherecord component.Methods in net.minecraft.client.renderer that return types with arguments of type ResourceModifier and TypeMethodDescriptionGameRenderer.ResourceCache.cache()Returns the value of thecacherecord 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 aResourceCacherecord class. -
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 voidSpriteSource.Output.add(ResourceLocation p_261841_, Resource p_261651_) default SpriteContentsSpriteResourceLoader.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
Fields in net.minecraft.client.renderer.texture.atlas.sources declared as ResourceConstructors in net.minecraft.client.renderer.texture.atlas.sources with parameters of type ResourceModifierConstructorDescriptionLazyLoadedImage(ResourceLocation p_267104_, Resource p_266995_, int p_266778_) -
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.soundCacheprivate 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_) Methods in net.minecraft.resources with parameters of type ResourceModifier and TypeMethodDescriptionprivate static <E> voidRegistryDataLoader.loadElementFromResource(WritableRegistry<E> p_326195_, com.mojang.serialization.Decoder<E> p_326476_, RegistryOps<com.google.gson.JsonElement> p_325932_, ResourceKey<E> p_326054_, Resource p_326141_, RegistrationInfo p_326033_) -
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 ResourceFallbackResourceManager.createResource(PackResources p_249946_, ResourceLocation p_250632_, IoSupplier<InputStream> p_250514_, IoSupplier<ResourceMetadata> p_251676_) default ResourceResourceProvider.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 ResourceProviderResourceProvider.fromMap(Map<ResourceLocation, Resource> p_251819_) -
Uses of Resource in net.neoforged.neoforge.common.data
Methods in net.neoforged.neoforge.common.data that return ResourceModifier and TypeMethodDescriptionExistingFileHelper.getResource(ResourceLocation loc, PackType packType) ExistingFileHelper.getResource(ResourceLocation loc, PackType packType, String pathSuffix, String pathPrefix) Methods in net.neoforged.neoforge.common.data that return types with arguments of type ResourceModifier and TypeMethodDescriptionExistingFileHelper.getResourceStack(ResourceLocation loc, PackType packType) -
Uses of Resource in net.neoforged.neoforge.registries
Method parameters in net.neoforged.neoforge.registries with type arguments of type ResourceModifier and TypeMethodDescriptionprivate static <A,T> List <DataMapFile<A, T>> DataMapLoader.readData(RegistryOps<com.google.gson.JsonElement> ops, DataMapType<T, A> attachmentType, ResourceKey<Registry<T>> registryKey, List<Resource> resources)