Class ResourcePackOrganizer.EnabledPack
java.lang.Object
net.minecraft.client.gui.screen.pack.ResourcePackOrganizer.AbstractPack
net.minecraft.client.gui.screen.pack.ResourcePackOrganizer.EnabledPack
- All Implemented Interfaces:
ResourcePackOrganizer.Pack
- Enclosing class:
- ResourcePackOrganizer
@Environment(CLIENT) class ResourcePackOrganizer.EnabledPack extends ResourcePackOrganizer.AbstractPack
-
Constructor Summary
Constructors Constructor Description EnabledPack(ResourcePackProfile profile)
-
Method Summary
Modifier and Type Method Description void
disable()
void
enable()
protected List<ResourcePackProfile>
getCurrentList()
protected List<ResourcePackProfile>
getOppositeList()
boolean
isEnabled()
Methods inherited from class net.minecraft.client.gui.screen.pack.ResourcePackOrganizer.AbstractPack
canMoveTowardEnd, canMoveTowardStart, getCompatibility, getDescription, getDisplayName, getSource, isAlwaysEnabled, isPinned, method_30286, move, moveTowardEnd, moveTowardStart, toggle
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.pack.ResourcePackOrganizer.Pack
canBeDisabled, canBeEnabled, getDecoratedDescription
-
Constructor Details
-
EnabledPack
-
-
Method Details
-
getCurrentList
- Specified by:
getCurrentList
in classResourcePackOrganizer.AbstractPack
-
getOppositeList
- Specified by:
getOppositeList
in classResourcePackOrganizer.AbstractPack
-
isEnabled
public boolean isEnabled() -
enable
public void enable() -
disable
public void disable()
-