接口 IForgePackResources

所有已知子接口:
PackResources
所有已知实现类:
AbstractPackResources, CompositePackResources, DelegatingPackResources, FilePackResources, PathPackResources, VanillaPackResources

public interface IForgePackResources
  • 方法概要

    修饰符和类型
    方法
    说明
    default @Nullable Collection<PackResources>
    Gets a collection of PackResource instances nested inside this pack.
    default boolean
    返回 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

      @Nullable default @Nullable Collection<PackResources> getChildren()
      Gets a collection of PackResource 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 in ResourceManager.getResourceStack(ResourceLocation)
      返回:
      Collection of nested PackResource, or null if this pack has no children
      另请参阅: