public class ProgWidgetLabel extends ProgWidget implements ILabel
IProgWidget.WidgetDifficulty| Constructor and Description |
|---|
ProgWidgetLabel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addErrors(java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
java.util.List<IProgWidget> widgets) |
net.minecraft.item.DyeColor |
getColor() |
IProgWidget.WidgetDifficulty |
getDifficulty() |
java.lang.String |
getLabel() |
java.util.List<ProgWidgetType<?>> |
getParameters()
Get the types of the widgets which connect to this widget on the right, in order (top to bottom).
|
net.minecraft.util.ResourceLocation |
getTexture() |
protected boolean |
hasBlacklist() |
boolean |
hasStepInput()
Can this widget connect to a widget above?
|
boolean |
hasStepOutput()
Can another widget be connected below this widget?
|
ProgWidgetType<?> |
returnType()
For "auxiliary" widgets that are added onto the left or right of another widget, get the type of the widget
being connected to.
|
addWarnings, canBeRunByComputers, canSetParameter, copy, fromNBT, fromPacket, getConnectedParameters, getExtraStringInfo, getHeight, getMaxUV, getOutputWidget, getOutputWidget, getParent, getTextureSize, getTooltip, getType, getTypeID, getWidgetAI, getWidgetTargetAI, getWidth, getX, getY, isAvailable, readFromNBT, readFromPacket, setOutputWidget, setParameter, setParent, setX, setY, writeToNBT, writeToPacketclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, freeToUse, getTranslationKey, isDifficultyOKpublic void addErrors(java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
java.util.List<IProgWidget> widgets)
addErrors in interface IProgWidgetaddErrors in class ProgWidgetpublic boolean hasStepInput()
IProgWidgethasStepInput in interface IProgWidgetpublic boolean hasStepOutput()
IProgWidgethasStepOutput in interface IProgWidgethasStepOutput in class ProgWidgetpublic ProgWidgetType<?> returnType()
IProgWidgetreturnType in interface IProgWidgetpublic java.util.List<ProgWidgetType<?>> getParameters()
IProgWidgetIProgWidget.getConnectedParameters() will be double the length of this list,
since these widgets can be added on both the right (whitelist) and left (blacklist) sides.getParameters in interface IProgWidgetprotected boolean hasBlacklist()
hasBlacklist in class ProgWidgetpublic net.minecraft.util.ResourceLocation getTexture()
getTexture in interface IProgWidgetpublic IProgWidget.WidgetDifficulty getDifficulty()
getDifficulty in interface IProgWidgetpublic net.minecraft.item.DyeColor getColor()
getColor in interface IProgWidget