Class TimeOfDayDisplaySource
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.TimeOfDayDisplaySource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.network.chat.MutableComponentFields 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 FlapDisplaySectioncreateSectionForValue(DisplayLinkContext context, int size) protected Stringprotected StringvoidinitConfigurationWidgets(DisplayLinkContext context, ModularGuiLineBuilder builder, boolean isFirstLine) protected net.minecraft.network.chat.MutableComponentprovideLine(DisplayLinkContext context, DisplayTargetStats stats) Methods 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
-
Field Details
-
EMPTY_TIME
public static final net.minecraft.network.chat.MutableComponent EMPTY_TIME
-
-
Constructor Details
-
TimeOfDayDisplaySource
public TimeOfDayDisplaySource()
-
-
Method Details
-
provideLine
protected net.minecraft.network.chat.MutableComponent provideLine(DisplayLinkContext context, DisplayTargetStats stats) - Specified by:
provideLinein classSingleLineDisplaySource
-
getFlapDisplayLayoutName
- Overrides:
getFlapDisplayLayoutNamein classSingleLineDisplaySource
-
createSectionForValue
- Overrides:
createSectionForValuein classSingleLineDisplaySource
-
getTranslationKey
- Overrides:
getTranslationKeyin classDisplaySource
-
initConfigurationWidgets
public void initConfigurationWidgets(DisplayLinkContext context, ModularGuiLineBuilder builder, boolean isFirstLine) - Overrides:
initConfigurationWidgetsin classSingleLineDisplaySource
-
allowsLabeling
- Specified by:
allowsLabelingin classSingleLineDisplaySource
-