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> pResources, ResourceLocation pFontId) -
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 pRegistryName, Resource pResource) -
Uses of Resource in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type ResourceModifier and TypeMethodDescriptionprivate static voidShaderManager.loadPostChain(ResourceLocation pLocation, Resource pPostChain, ImmutableMap.Builder<ResourceLocation, PostChainConfig> pOutput) private static voidShaderManager.loadProgram(ResourceLocation pLocation, Resource pResource, ImmutableMap.Builder<ResourceLocation, ShaderProgramConfig> pOutput) private static voidShaderManager.loadShader(ResourceLocation pLocation, Resource pShader, CompiledShader.Type pType, Map<ResourceLocation, Resource> pShaderResources, ImmutableMap.Builder<ShaderManager.ShaderSourceKey, String> pOutput) Method parameters in net.minecraft.client.renderer with type arguments of type ResourceModifier and TypeMethodDescriptionprivate static GlslPreprocessorShaderManager.createPreprocessor(Map<ResourceLocation, Resource> pShaderResources, ResourceLocation pShaderLocation) private static voidShaderManager.loadShader(ResourceLocation pLocation, Resource pShader, CompiledShader.Type pType, Map<ResourceLocation, Resource> pShaderResources, ImmutableMap.Builder<ShaderManager.ShaderSourceKey, String> pOutput) -
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 pLocation, Resource pResource) default SpriteContentsSpriteResourceLoader.loadSprite(ResourceLocation pLocation, Resource pResource) SpriteResourceLoader.loadSprite(ResourceLocation pLocation, Resource pResource, 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 pId, Resource pResource, int pReferenceCount) -
Uses of Resource in net.minecraft.client.resources.language
Method parameters in net.minecraft.client.resources.language with type arguments of type ResourceModifier and TypeMethodDescriptionprivate static voidClientLanguage.appendFrom(String pLanguageName, List<Resource> pResources, Map<String, String> pDestinationMap) Deprecated.private static voidClientLanguage.appendFrom(String pLanguageName, List<Resource> pResources, Map<String, String> pDestinationMap, Map<String, Component> componentMap) -
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 pResourceManager) FileToIdConverter.listMatchingResourcesFromNamespace(ResourceManager manager, String namespace) List all resources under the given namespace which match this converterFileToIdConverter.listMatchingResourceStacks(ResourceManager pResourceManager) FileToIdConverter.listMatchingResourceStacksFromNamespace(ResourceManager manager, String namespace) List all resource stacks under the given namespace which match this converterMethods in net.minecraft.resources with parameters of type ResourceModifier and TypeMethodDescriptionprivate static <E> voidRegistryDataLoader.loadElementFromResource(WritableRegistry<E> pRegistry, com.mojang.serialization.Decoder<E> pCodec, RegistryOps<JsonElement> pOps, ResourceKey<E> pResourceKey, Resource pResource, RegistrationInfo pRegistrationInfo) -
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 pSource, ResourceLocation pLocation, IoSupplier<InputStream> pStreamSupplier, IoSupplier<ResourceMetadata> pMetadataSupplier) default ResourceResourceProvider.getResourceOrThrow(ResourceLocation pLocation) 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 pLocation) FallbackResourceManager.getResourceStack(ResourceLocation p_215367_) MultiPackResourceManager.getResourceStack(ResourceLocation p_215466_) ReloadableResourceManager.getResourceStack(ResourceLocation p_215486_) ResourceManager.Empty.getResourceStack(ResourceLocation p_215568_) ResourceManager.getResourceStack(ResourceLocation pLocation) 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 pPath, Predicate<ResourceLocation> pFilter) 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 pPath, Predicate<ResourceLocation> pFilter) Method parameters in net.minecraft.server.packs.resources with type arguments of type ResourceModifier and TypeMethodDescriptionstatic ResourceProviderResourceProvider.fromMap(Map<ResourceLocation, Resource> pResources) -
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<JsonElement> ops, DataMapType<T, A> attachmentType, ResourceKey<Registry<T>> registryKey, List<Resource> resources)