Interface IForgePackResources
- All Known Subinterfaces:
PackResources
- All Known Implementing Classes:
AbstractPackResources,CompositePackResources,DelegatingPackResources,FilePackResources,PathPackResources,PathPackResources,VanillaPackResources
public interface IForgePackResources
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable Collection<PackResources>Gets a collection ofPackResourceinstances nested inside this pack.default booleanisHidden()Returnstrueif the pack should be hidden from any user interfaces.
-
Method Details
-
isHidden
default boolean isHidden()Returnstrueif the pack should be hidden from any user interfaces.- Returns:
trueif the pack should be hidden from any user interfaces
-
getChildren
Gets a collection ofPackResourceinstances 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:
-