Interface Pack
-
- All Superinterfaces:
java.lang.AutoCloseable
public interface Pack extends java.lang.AutoCloseableThe physical representation of game assets that may or may not be loaded in anEngine.- See Also:
- Minecraft Wiki/Resource Packs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()PackContentscontents()Componentdescription()java.lang.Stringid()booleanisForced()booleanisLocked()PackStatusstatus()Componenttitle()
-
-
-
Method Detail
-
id
java.lang.String id()
- Returns:
- The
id
-
contents
PackContents contents()
- Returns:
- The
contents
-
description
Component description()
- Returns:
- The
description
-
status
PackStatus status()
- Returns:
- The
PackStatus
-
isForced
boolean isForced()
- Returns:
- True if this pack will always be enabled, false otherwise
-
isLocked
boolean isLocked()
- Returns:
- True if this pack has a locked order, false otherwise
-
close
void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
-