接口 IForgePackResources
- 所有已知子接口:
PackResources
- 所有已知实现类:
AbstractPackResources
,CompositePackResources
,DelegatingPackResources
,FilePackResources
,PathPackResources
,VanillaPackResources
public interface IForgePackResources
-
方法概要
修饰符和类型方法说明default @Nullable Collection
<PackResources> Gets a collection ofPackResource
instances nested inside this pack.default boolean
isHidden()
返回true
if the pack should be hidden from any user interfaces。
-
方法详细资料
-
isHidden
default boolean isHidden()返回true
if the pack should be hidden from any user interfaces。- 返回:
true
if the pack should be hidden from any user interfaces
-
getChildren
Gets a collection ofPackResource
instances nested inside this pack. Used to merge several packs into one entry in the resource pack selection UI without losing the ability for each pack to return a resource inResourceManager.getResourceStack(ResourceLocation)
- 返回:
- Collection of nested
PackResource
, or null if this pack has no children - 另请参阅:
-