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