public class ModFileResourcePack extends DelegatableResourcePack
file| コンストラクタと説明 |
|---|
ModFileResourcePack(ModFile modFile) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
close() |
java.util.Collection<ResourceLocation> |
getAllResourceLocations(ResourcePackType type,
java.lang.String resourceNamespace,
java.lang.String pathIn,
int maxDepth,
java.util.function.Predicate<java.lang.String> filter) |
java.io.InputStream |
getInputStream(java.lang.String name) |
ModFile |
getModFile() |
java.lang.String |
getName() |
java.util.Set<java.lang.String> |
getResourceNamespaces(ResourcePackType type) |
java.io.InputStream |
getResourceStream(ResourcePackType type,
ResourceLocation location) |
boolean |
resourceExists(ResourcePackType type,
ResourceLocation location) |
boolean |
resourceExists(java.lang.String name) |
getMetadata, getRelativeString, getResourceMetadata, getRootResourceStream, onIgnoreNonLowercaseNamespaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisHiddenpublic ModFileResourcePack(ModFile modFile)
public ModFile getModFile()
public java.lang.String getName()
getName インタフェース内 IResourcePackgetName クラス内 ResourcePackpublic java.io.InputStream getInputStream(java.lang.String name)
throws java.io.IOException
getInputStream クラス内 DelegatableResourcePackjava.io.IOExceptionpublic boolean resourceExists(java.lang.String name)
resourceExists クラス内 DelegatableResourcePackpublic java.util.Collection<ResourceLocation> getAllResourceLocations(ResourcePackType type, java.lang.String resourceNamespace, java.lang.String pathIn, int maxDepth, java.util.function.Predicate<java.lang.String> filter)
public java.util.Set<java.lang.String> getResourceNamespaces(ResourcePackType type)
public java.io.InputStream getResourceStream(ResourcePackType type, ResourceLocation location) throws java.io.IOException
getResourceStream インタフェース内 IResourcePackgetResourceStream クラス内 ResourcePackjava.io.IOExceptionpublic boolean resourceExists(ResourcePackType type, ResourceLocation location)
resourceExists インタフェース内 IResourcePackresourceExists クラス内 ResourcePackpublic void close()
throws java.io.IOException
java.io.IOException