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 ResourcePackInfo
pack
-
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 boolean
canMoveDown()
boolean
canMoveUp()
PackCompatibility
getCompatibility()
ITextComponent
getDescription()
ResourceLocation
getIconTexture()
protected abstract java.util.List<ResourcePackInfo>
getOtherList()
IPackNameDecorator
getPackSource()
protected abstract java.util.List<ResourcePackInfo>
getSelfList()
ITextComponent
getTitle()
boolean
isFixedPosition()
boolean
isRequired()
protected void
move(int p_238879_1_)
void
moveDown()
void
moveUp()
boolean
notHidden()
protected void
toggleSelection()
-
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:
getIconTexture
in interfacePackLoadingManager.IPack
-
getCompatibility
public PackCompatibility getCompatibility()
- Specified by:
getCompatibility
in interfacePackLoadingManager.IPack
-
getTitle
public ITextComponent getTitle()
- Specified by:
getTitle
in interfacePackLoadingManager.IPack
-
getDescription
public ITextComponent getDescription()
- Specified by:
getDescription
in interfacePackLoadingManager.IPack
-
getPackSource
public IPackNameDecorator getPackSource()
- Specified by:
getPackSource
in interfacePackLoadingManager.IPack
-
isFixedPosition
public boolean isFixedPosition()
- Specified by:
isFixedPosition
in interfacePackLoadingManager.IPack
-
isRequired
public boolean isRequired()
- Specified by:
isRequired
in interfacePackLoadingManager.IPack
-
toggleSelection
protected void toggleSelection()
-
move
protected void move(int p_238879_1_)
-
canMoveUp
public boolean canMoveUp()
- Specified by:
canMoveUp
in interfacePackLoadingManager.IPack
-
moveUp
public void moveUp()
- Specified by:
moveUp
in interfacePackLoadingManager.IPack
-
canMoveDown
public boolean canMoveDown()
- Specified by:
canMoveDown
in interfacePackLoadingManager.IPack
-
moveDown
public void moveDown()
- Specified by:
moveDown
in interfacePackLoadingManager.IPack
-
notHidden
public boolean notHidden()
- Specified by:
notHidden
in interfacePackLoadingManager.IPack
-
-