Class HTProgressWidget
-
- All Implemented Interfaces:
-
hiiragi283.core.api.gui.widget.HTWidget
public final class HTProgressWidget extends HTAbstractWidget
-
-
Field Summary
Fields Modifier and Type Field Description private ResourceLocationtextureprivate final ResourceLocationbackgroundTextureprivate HTFillDirectionfillDirectionprivate final HTBoundsbounds
-
Constructor Summary
Constructors Constructor Description HTProgressWidget(HTFractionSyncSlot syncSlot, HTBounds bounds)HTProgressWidget(HTFractionSyncSlot syncSlot, Integer x, Integer y, Integer width, Integer height)
-
Method Summary
Modifier and Type Method Description final ResourceLocationgetTexture()final UnitsetTexture(ResourceLocation value)final ResourceLocationgetBackgroundTexture()final HTFillDirectiongetFillDirection()final UnitsetFillDirection(HTFillDirection value)final HTBoundsgetBounds()final HTProgressWidgetsetTexture(ResourceLocation texture)final HTProgressWidgetsetDirection(HTFillDirection direction)final FractiongetProgress()HTWidgetType<HTProgressWidget>getType()HTWidgetTypeを取得します。 UnitsetupHolder(HTWidgetHolder widgetHolder)final static HTProgressWidgetcreateArrow(HTFractionSyncSlot syncSlot, Integer x, Integer y)-
-
Constructor Detail
-
HTProgressWidget
HTProgressWidget(HTFractionSyncSlot syncSlot, HTBounds bounds)
-
HTProgressWidget
HTProgressWidget(HTFractionSyncSlot syncSlot, Integer x, Integer y, Integer width, Integer height)
-
-
Method Detail
-
getTexture
final ResourceLocation getTexture()
-
setTexture
final Unit setTexture(ResourceLocation value)
-
getBackgroundTexture
final ResourceLocation getBackgroundTexture()
-
getFillDirection
final HTFillDirection getFillDirection()
-
setFillDirection
final Unit setFillDirection(HTFillDirection value)
-
setTexture
final HTProgressWidget setTexture(ResourceLocation texture)
-
setDirection
final HTProgressWidget setDirection(HTFillDirection direction)
-
getProgress
final Fraction getProgress()
-
getType
HTWidgetType<HTProgressWidget> getType()
HTWidgetTypeを取得します。
-
setupHolder
Unit setupHolder(HTWidgetHolder widgetHolder)
-
createArrow
final static HTProgressWidget createArrow(HTFractionSyncSlot syncSlot, Integer x, Integer y)
-
-
-
-