Class AccumulatedItemCountDisplaySource
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.AccumulatedItemCountDisplaySource
- Direct Known Subclasses:
ItemThroughputDisplaySource
-
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) intprotected StringvoiditemReceived(DisplayLinkBlockEntity be, int amount) voidonSignalReset(DisplayLinkContext context) protected net.minecraft.network.chat.MutableComponentprovideLine(DisplayLinkContext context, DisplayTargetStats stats) Methods inherited from class com.simibubi.create.content.redstone.displayLink.source.NumericSingleLineDisplaySource
createSectionForValue, getFlapDisplayLayoutNameMethods inherited from class com.simibubi.create.content.redstone.displayLink.source.SingleLineDisplaySource
addLabelingTextBox, initConfigurationWidgets, loadFlapDisplayLayout, provideFlapDisplayText, provideTextMethods inherited from class com.simibubi.create.api.behaviour.display.DisplaySource
displaySource, get, getAll, getId, getName, loadFlapDisplayLayout, populateData, shouldPassiveReset, transferData
-
Constructor Details
-
AccumulatedItemCountDisplaySource
public AccumulatedItemCountDisplaySource()
-
-
Method Details
-
provideLine
protected net.minecraft.network.chat.MutableComponent provideLine(DisplayLinkContext context, DisplayTargetStats stats) - Specified by:
provideLinein classSingleLineDisplaySource
-
itemReceived
-
getTranslationKey
- Overrides:
getTranslationKeyin classDisplaySource
-
getPassiveRefreshTicks
public int getPassiveRefreshTicks()- Overrides:
getPassiveRefreshTicksin classDisplaySource
-
onSignalReset
- Overrides:
onSignalResetin classDisplaySource
-
allowsLabeling
- Specified by:
allowsLabelingin classSingleLineDisplaySource
-