Class ScoreboardDisplaySource
java.lang.Object
com.simibubi.create.content.logistics.block.display.DisplayBehaviour
com.simibubi.create.content.logistics.block.display.source.DisplaySource
com.simibubi.create.content.logistics.block.display.source.ValueListDisplaySource
com.simibubi.create.content.logistics.block.display.source.ScoreboardDisplaySource
- Direct Known Subclasses:
StatTrackingDisplaySource
-
Field Summary
Fields inherited from class com.simibubi.create.content.logistics.block.display.source.DisplaySource
EMPTY, EMPTY_LINE, WHITESPACEFields inherited from class com.simibubi.create.content.logistics.block.display.DisplayBehaviour
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringvoidinitConfigurationWidgets(DisplayLinkContext context, ModularGuiLineBuilder builder, boolean isFirstLine) protected Stream<IntAttached<net.minecraft.network.chat.MutableComponent>>provideEntries(DisplayLinkContext context, int maxRows) protected Stream<IntAttached<net.minecraft.network.chat.MutableComponent>>showScoreboard(net.minecraft.server.level.ServerLevel sLevel, String objectiveName, int maxRows) protected booleanMethods inherited from class com.simibubi.create.content.logistics.block.display.source.ValueListDisplaySource
addFullNumberConfig, createComponentsFromEntry, loadFlapDisplayLayout, provideFlapDisplayText, provideText, shortenNumbersMethods inherited from class com.simibubi.create.content.logistics.block.display.source.DisplaySource
getName, getPassiveRefreshTicks, loadFlapDisplayLayout, onSignalReset, populateData, transferData
-
Constructor Details
-
ScoreboardDisplaySource
public ScoreboardDisplaySource()
-
-
Method Details
-
provideEntries
protected Stream<IntAttached<net.minecraft.network.chat.MutableComponent>> provideEntries(DisplayLinkContext context, int maxRows) - Specified by:
provideEntriesin classValueListDisplaySource
-
showScoreboard
protected Stream<IntAttached<net.minecraft.network.chat.MutableComponent>> showScoreboard(net.minecraft.server.level.ServerLevel sLevel, String objectiveName, int maxRows) -
getTranslationKey
- Overrides:
getTranslationKeyin classDisplaySource
-
initConfigurationWidgets
public void initConfigurationWidgets(DisplayLinkContext context, ModularGuiLineBuilder builder, boolean isFirstLine) - Overrides:
initConfigurationWidgetsin classValueListDisplaySource
-
valueFirst
protected boolean valueFirst()- Specified by:
valueFirstin classValueListDisplaySource
-