类 MultiPackResourceManager
java.lang.Object
net.minecraft.server.packs.resources.MultiPackResourceManager
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.server.packs.resources.ResourceManager
ResourceManager.Empty
-
字段概要
字段修饰符和类型字段说明private static final org.slf4j.Logger
private final Map<String,
FallbackResourceManager> private final List<PackResources>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static void
checkTrailingDirectoryPath
(String p_249608_) void
close()
private ResourceFilterSection
getPackFilterSection
(PackResources pPackResources) getResource
(ResourceLocation pLocation) getResourceStack
(ResourceLocation pLocation) listResources
(String pPath, Predicate<ResourceLocation> pFilter) listResourceStacks
(String pPath, Predicate<ResourceLocation> pFilter) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.server.packs.resources.ResourceProvider
getResourceOrThrow, open, openAsReader
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
namespacedManagers
-
packs
-
-
构造器详细资料
-
MultiPackResourceManager
-
-
方法详细资料
-
getPackFilterSection
-
getNamespaces
- 指定者:
getNamespaces
在接口中ResourceManager
-
getResource
- 指定者:
getResource
在接口中ResourceProvider
-
getResourceStack
- 指定者:
getResourceStack
在接口中ResourceManager
-
listResources
public Map<ResourceLocation,Resource> listResources(String pPath, Predicate<ResourceLocation> pFilter) - 指定者:
listResources
在接口中ResourceManager
-
listResourceStacks
public Map<ResourceLocation,List<Resource>> listResourceStacks(String pPath, Predicate<ResourceLocation> pFilter) - 指定者:
listResourceStacks
在接口中ResourceManager
-
checkTrailingDirectoryPath
-
listPacks
- 指定者:
listPacks
在接口中ResourceManager
-
close
public void close()- 指定者:
close
在接口中AutoCloseable
- 指定者:
close
在接口中CloseableResourceManager
-