Class FillLevelDisplaySource
java.lang.Object
com.simibubi.create.api.behaviour.display.DisplaySource
com.simibubi.create.content.redstone.displayLink.source.SingleLineDisplaySource
com.simibubi.create.content.redstone.displayLink.source.NumericSingleLineDisplaySource
com.simibubi.create.content.redstone.displayLink.source.PercentOrProgressBarDisplaySource
com.simibubi.create.content.redstone.displayLink.source.FillLevelDisplaySource
-
Field Summary
Fields inherited from class com.simibubi.create.content.redstone.displayLink.source.NumericSingleLineDisplaySource
ZEROFields inherited from class com.simibubi.create.api.behaviour.display.DisplaySource
BY_BLOCK, BY_BLOCK_ENTITY, EMPTY, EMPTY_LINE, WHITESPACE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanallowsLabeling(DisplayLinkContext context) protected FloatgetProgress(DisplayLinkContext context) protected StringvoidinitConfigurationWidgets(DisplayLinkContext context, ModularGuiLineBuilder builder, boolean isFirstLine) protected booleanprogressBarActive(DisplayLinkContext context) Methods inherited from class com.simibubi.create.content.redstone.displayLink.source.PercentOrProgressBarDisplaySource
createSectionForValue, formatNumeric, getFlapDisplayLayoutName, provideLineMethods inherited from class com.simibubi.create.content.redstone.displayLink.source.SingleLineDisplaySource
addLabelingTextBox, loadFlapDisplayLayout, provideFlapDisplayText, provideTextMethods inherited from class com.simibubi.create.api.behaviour.display.DisplaySource
displaySource, get, getAll, getId, getName, getPassiveRefreshTicks, loadFlapDisplayLayout, onSignalReset, populateData, shouldPassiveReset, transferData
-
Constructor Details
-
FillLevelDisplaySource
public FillLevelDisplaySource()
-
-
Method Details
-
getProgress
- Specified by:
getProgressin classPercentOrProgressBarDisplaySource
-
progressBarActive
- Specified by:
progressBarActivein classPercentOrProgressBarDisplaySource
-
getTranslationKey
- Overrides:
getTranslationKeyin classDisplaySource
-
initConfigurationWidgets
public void initConfigurationWidgets(DisplayLinkContext context, ModularGuiLineBuilder builder, boolean isFirstLine) - Overrides:
initConfigurationWidgetsin classSingleLineDisplaySource
-
allowsLabeling
- Specified by:
allowsLabelingin classSingleLineDisplaySource
-