Interface IForgePackResources
- All Known Subinterfaces:
PackResources
- All Known Implementing Classes:
AbstractPackResources
,DelegatingPackResources
,FilePackResources
,PathPackResources
,PathPackResources
,VanillaPackResources
public interface IForgePackResources
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable Collection<PackResources>
Gets a collection ofPackResource
instances nested inside this pack.default boolean
isHidden()
Returnstrue
if the pack should be hidden from any user interfaces.
-
Method Details
-
isHidden
default boolean isHidden()Returnstrue
if the pack should be hidden from any user interfaces.- Returns:
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)
- Returns:
- Collection of nested
PackResource
, or null if this pack has no children - See Also:
-