Package net.minecraft.client.gui.screen
Class PackLoadingManager.AbstractPack
- java.lang.Object
-
- net.minecraft.client.gui.screen.PackLoadingManager.AbstractPack
-
- All Implemented Interfaces:
PackLoadingManager.IPack
- Direct Known Subclasses:
PackLoadingManager.DisabledPack,PackLoadingManager.EnabledPack
- Enclosing class:
- PackLoadingManager
abstract class PackLoadingManager.AbstractPack extends java.lang.Object implements PackLoadingManager.IPack
-
-
Field Summary
Fields Modifier and Type Field Description private ResourcePackInfopack
-
Constructor Summary
Constructors Constructor Description AbstractPack(ResourcePackInfo p_i232297_2_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancanMoveDown()booleancanMoveUp()PackCompatibilitygetCompatibility()ITextComponentgetDescription()ResourceLocationgetIconTexture()protected abstract java.util.List<ResourcePackInfo>getOtherList()IPackNameDecoratorgetPackSource()protected abstract java.util.List<ResourcePackInfo>getSelfList()ITextComponentgetTitle()booleanisFixedPosition()booleanisRequired()protected voidmove(int p_238879_1_)voidmoveDown()voidmoveUp()booleannotHidden()protected voidtoggleSelection()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.client.gui.screen.PackLoadingManager.IPack
canSelect, canUnselect, getExtendedDescription, isSelected, select, unselect
-
-
-
-
Field Detail
-
pack
private final ResourcePackInfo pack
-
-
Constructor Detail
-
AbstractPack
public AbstractPack(ResourcePackInfo p_i232297_2_)
-
-
Method Detail
-
getSelfList
protected abstract java.util.List<ResourcePackInfo> getSelfList()
-
getOtherList
protected abstract java.util.List<ResourcePackInfo> getOtherList()
-
getIconTexture
public ResourceLocation getIconTexture()
- Specified by:
getIconTexturein interfacePackLoadingManager.IPack
-
getCompatibility
public PackCompatibility getCompatibility()
- Specified by:
getCompatibilityin interfacePackLoadingManager.IPack
-
getTitle
public ITextComponent getTitle()
- Specified by:
getTitlein interfacePackLoadingManager.IPack
-
getDescription
public ITextComponent getDescription()
- Specified by:
getDescriptionin interfacePackLoadingManager.IPack
-
getPackSource
public IPackNameDecorator getPackSource()
- Specified by:
getPackSourcein interfacePackLoadingManager.IPack
-
isFixedPosition
public boolean isFixedPosition()
- Specified by:
isFixedPositionin interfacePackLoadingManager.IPack
-
isRequired
public boolean isRequired()
- Specified by:
isRequiredin interfacePackLoadingManager.IPack
-
toggleSelection
protected void toggleSelection()
-
move
protected void move(int p_238879_1_)
-
canMoveUp
public boolean canMoveUp()
- Specified by:
canMoveUpin interfacePackLoadingManager.IPack
-
moveUp
public void moveUp()
- Specified by:
moveUpin interfacePackLoadingManager.IPack
-
canMoveDown
public boolean canMoveDown()
- Specified by:
canMoveDownin interfacePackLoadingManager.IPack
-
moveDown
public void moveDown()
- Specified by:
moveDownin interfacePackLoadingManager.IPack
-
notHidden
public boolean notHidden()
- Specified by:
notHiddenin interfacePackLoadingManager.IPack
-
-