@Environment(value=CLIENT) abstract class ResourcePackOrganizer.AbstractPack extends Object implements ResourcePackOrganizer.Pack
| Modifier and Type | Field and Description |
|---|---|
private ResourcePackProfile |
profile |
| Constructor and Description |
|---|
AbstractPack(ResourcePackProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMoveTowardEnd() |
boolean |
canMoveTowardStart() |
ResourcePackCompatibility |
getCompatibility() |
protected abstract List<ResourcePackProfile> |
getCurrentList() |
Text |
getDescription() |
Text |
getDisplayName() |
protected abstract List<ResourcePackProfile> |
getOppositeList() |
ResourcePackSource |
getSource() |
boolean |
isAlwaysEnabled() |
boolean |
isPinned() |
Identifier |
method_30286() |
protected void |
move(int offset) |
void |
moveTowardEnd() |
void |
moveTowardStart() |
protected void |
toggle() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanBeDisabled, canBeEnabled, disable, enable, getDecoratedDescription, isEnabledprivate final ResourcePackProfile profile
public AbstractPack(ResourcePackProfile profile)
protected abstract List<ResourcePackProfile> getCurrentList()
protected abstract List<ResourcePackProfile> getOppositeList()
public Identifier method_30286()
method_30286 in interface ResourcePackOrganizer.Packpublic ResourcePackCompatibility getCompatibility()
getCompatibility in interface ResourcePackOrganizer.Packpublic Text getDisplayName()
getDisplayName in interface ResourcePackOrganizer.Packpublic Text getDescription()
getDescription in interface ResourcePackOrganizer.Packpublic ResourcePackSource getSource()
getSource in interface ResourcePackOrganizer.Packpublic boolean isPinned()
isPinned in interface ResourcePackOrganizer.Packpublic boolean isAlwaysEnabled()
isAlwaysEnabled in interface ResourcePackOrganizer.Packprotected void toggle()
protected void move(int offset)
public boolean canMoveTowardStart()
canMoveTowardStart in interface ResourcePackOrganizer.Packpublic void moveTowardStart()
moveTowardStart in interface ResourcePackOrganizer.Packpublic boolean canMoveTowardEnd()
canMoveTowardEnd in interface ResourcePackOrganizer.Packpublic void moveTowardEnd()
moveTowardEnd in interface ResourcePackOrganizer.Pack