Package net.minecraft.resources
Interface IResourceManager
-
- All Known Subinterfaces:
IReloadableResourceManager
- All Known Implementing Classes:
FallbackResourceManager
,IResourceManager.Instance
,SimpleReloadableResourceManager
public interface IResourceManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IResourceManager.Instance
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<java.lang.String>
getNamespaces()
IResource
getResource(ResourceLocation p_199002_1_)
java.util.List<IResource>
getResources(ResourceLocation p_199004_1_)
boolean
hasResource(ResourceLocation p_219533_1_)
java.util.stream.Stream<IResourcePack>
listPacks()
java.util.Collection<ResourceLocation>
listResources(java.lang.String p_199003_1_, java.util.function.Predicate<java.lang.String> p_199003_2_)
-
-
-
Method Detail
-
getNamespaces
java.util.Set<java.lang.String> getNamespaces()
-
getResource
IResource getResource(ResourceLocation p_199002_1_) throws java.io.IOException
- Throws:
java.io.IOException
-
hasResource
boolean hasResource(ResourceLocation p_219533_1_)
-
getResources
java.util.List<IResource> getResources(ResourceLocation p_199004_1_) throws java.io.IOException
- Throws:
java.io.IOException
-
listResources
java.util.Collection<ResourceLocation> listResources(java.lang.String p_199003_1_, java.util.function.Predicate<java.lang.String> p_199003_2_)
-
listPacks
java.util.stream.Stream<IResourcePack> listPacks()
-
-