public abstract class ProgWidgetConditionBase extends ProgWidget implements IJump
IProgWidget.WidgetDifficulty| Modifier and Type | Method and Description |
|---|---|
void |
addErrors(java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
java.util.List<IProgWidget> widgets) |
abstract boolean |
evaluate(IDroneBase drone,
IProgWidget widget) |
net.minecraft.item.DyeColor |
getColor() |
IProgWidget.WidgetDifficulty |
getDifficulty() |
IProgWidget |
getOutputWidget(IDroneBase drone,
java.util.List<IProgWidget> allWidgets)
Get the next widget in the program, which may or may not be the widget attached to the bottom of this one.
|
java.util.List<java.lang.String> |
getPossibleJumpLocations() |
boolean |
hasStepInput()
Can this widget connect to a widget above?
|
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, getParent, getTextureSize, getTooltip, getType, getTypeID, getWidgetAI, getWidgetTargetAI, getWidth, getX, getY, hasBlacklist, hasStepOutput, isAvailable, readFromNBT, readFromPacket, setOutputWidget, setParameter, setParent, setX, setY, writeToNBT, writeToPacketclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, freeToUse, getParameters, getTexture, getTranslationKey, isDifficultyOKpublic boolean hasStepInput()
IProgWidgethasStepInput in interface IProgWidgetpublic ProgWidgetType<?> returnType()
IProgWidgetreturnType in interface IProgWidgetpublic IProgWidget.WidgetDifficulty getDifficulty()
getDifficulty in interface IProgWidgetpublic void addErrors(java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
java.util.List<IProgWidget> widgets)
addErrors in interface IProgWidgetaddErrors in class ProgWidgetpublic java.util.List<java.lang.String> getPossibleJumpLocations()
getPossibleJumpLocations in interface IJumppublic IProgWidget getOutputWidget(IDroneBase drone, java.util.List<IProgWidget> allWidgets)
IProgWidgetgetOutputWidget in interface IProgWidgetgetOutputWidget in class ProgWidgetdrone - the droneallWidgets - a list of widgetspublic abstract boolean evaluate(IDroneBase drone, IProgWidget widget)
public net.minecraft.item.DyeColor getColor()
getColor in interface IProgWidget