Class FactoryGaugeDisplaySource
java.lang.Object
com.simibubi.create.api.behaviour.display.DisplaySource
com.simibubi.create.content.redstone.displayLink.source.ValueListDisplaySource
com.simibubi.create.content.redstone.displayLink.source.FactoryGaugeDisplaySource
-
Field Summary
Fields 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 TypeMethodDescriptionnet.createmod.catnip.data.IntAttached<net.minecraft.network.chat.MutableComponent> createEntry(net.minecraft.world.level.Level level, FactoryPanelPosition pos) protected Stringprotected Stream<net.createmod.catnip.data.IntAttached<net.minecraft.network.chat.MutableComponent>> provideEntries(DisplayLinkContext context, int maxRows) protected booleanMethods inherited from class com.simibubi.create.content.redstone.displayLink.source.ValueListDisplaySource
addFullNumberConfig, createComponentsFromEntry, initConfigurationWidgets, loadFlapDisplayLayout, provideFlapDisplayText, provideText, shortenNumbersMethods inherited from class com.simibubi.create.api.behaviour.display.DisplaySource
displaySource, get, getAll, getId, getName, getPassiveRefreshTicks, loadFlapDisplayLayout, onSignalReset, populateData, shouldPassiveReset, transferData
-
Constructor Details
-
FactoryGaugeDisplaySource
public FactoryGaugeDisplaySource()
-
-
Method Details
-
provideEntries
protected Stream<net.createmod.catnip.data.IntAttached<net.minecraft.network.chat.MutableComponent>> provideEntries(DisplayLinkContext context, int maxRows) - Specified by:
provideEntriesin classValueListDisplaySource
-
createEntry
@Nullable public net.createmod.catnip.data.IntAttached<net.minecraft.network.chat.MutableComponent> createEntry(net.minecraft.world.level.Level level, FactoryPanelPosition pos) -
getTranslationKey
- Overrides:
getTranslationKeyin classDisplaySource
-
valueFirst
protected boolean valueFirst()- Specified by:
valueFirstin classValueListDisplaySource
-