Class StatTrackingDisplaySource
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
com.simibubi.create.content.logistics.block.display.source.StatTrackingDisplaySource
- Direct Known Subclasses:
DeathCounterDisplaySource
-
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 abstract net.minecraft.network.chat.Componentprotected abstract StringvoidinitConfigurationWidgets(DisplayLinkContext context, ModularGuiLineBuilder builder, boolean isFirstLine) protected Stream<IntAttached<net.minecraft.network.chat.MutableComponent>>provideEntries(DisplayLinkContext context, int maxRows) protected booleanshortenNumbers(DisplayLinkContext context) protected abstract intupdatedScoreOf(net.minecraft.server.level.ServerPlayer player) protected booleanMethods inherited from class com.simibubi.create.content.logistics.block.display.source.ScoreboardDisplaySource
getTranslationKey, showScoreboardMethods inherited from class com.simibubi.create.content.logistics.block.display.source.ValueListDisplaySource
addFullNumberConfig, createComponentsFromEntry, loadFlapDisplayLayout, provideFlapDisplayText, provideTextMethods inherited from class com.simibubi.create.content.logistics.block.display.source.DisplaySource
getName, getPassiveRefreshTicks, loadFlapDisplayLayout, onSignalReset, populateData, transferData
-
Constructor Details
-
StatTrackingDisplaySource
public StatTrackingDisplaySource()
-
-
Method Details
-
provideEntries
protected Stream<IntAttached<net.minecraft.network.chat.MutableComponent>> provideEntries(DisplayLinkContext context, int maxRows) - Overrides:
provideEntriesin classScoreboardDisplaySource
-
getObjectiveName
-
getObjectiveDisplayName
protected abstract net.minecraft.network.chat.Component getObjectiveDisplayName() -
updatedScoreOf
protected abstract int updatedScoreOf(net.minecraft.server.level.ServerPlayer player) -
valueFirst
protected boolean valueFirst()- Overrides:
valueFirstin classScoreboardDisplaySource
-
shortenNumbers
- Overrides:
shortenNumbersin classValueListDisplaySource
-
initConfigurationWidgets
public void initConfigurationWidgets(DisplayLinkContext context, ModularGuiLineBuilder builder, boolean isFirstLine) - Overrides:
initConfigurationWidgetsin classScoreboardDisplaySource
-