Class EntityNameDisplaySource
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.EntityNameDisplaySource
-
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 TypeMethodDescriptionprotected booleanallowsLabeling(DisplayLinkContext context) protected Stringprotected net.minecraft.network.chat.MutableComponentprovideLine(DisplayLinkContext context, DisplayTargetStats stats) Methods inherited from class com.simibubi.create.content.redstone.displayLink.source.SingleLineDisplaySource
addLabelingTextBox, createSectionForValue, getFlapDisplayLayoutName, initConfigurationWidgets, loadFlapDisplayLayout, provideFlapDisplayText, provideTextMethods inherited from class com.simibubi.create.api.behaviour.display.DisplaySource
displaySource, get, getAll, getId, getName, getPassiveRefreshTicks, loadFlapDisplayLayout, onSignalReset, populateData, shouldPassiveReset, transferData
-
Constructor Details
-
EntityNameDisplaySource
public EntityNameDisplaySource()
-
-
Method Details
-
provideLine
protected net.minecraft.network.chat.MutableComponent provideLine(DisplayLinkContext context, DisplayTargetStats stats) - Specified by:
provideLinein classSingleLineDisplaySource
-
getTranslationKey
- Overrides:
getTranslationKeyin classDisplaySource
-
allowsLabeling
- Specified by:
allowsLabelingin classSingleLineDisplaySource
-