public class ProgWidgetSuicide extends ProgWidget
IProgWidget.WidgetDifficulty| Constructor and Description |
|---|
ProgWidgetSuicide() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.DyeColor |
getColor() |
IProgWidget.WidgetDifficulty |
getDifficulty() |
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() |
net.minecraft.entity.ai.goal.Goal |
getWidgetAI(IDroneBase drone,
IProgWidget widget)
Get the AI for this progwidget
|
int |
getWidth() |
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.
|
addErrors, addWarnings, canBeRunByComputers, canSetParameter, copy, fromNBT, fromPacket, getConnectedParameters, getExtraStringInfo, getHeight, getMaxUV, getOutputWidget, getOutputWidget, getParent, getTextureSize, getTooltip, getType, getTypeID, getWidgetTargetAI, getX, getY, hasBlacklist, isAvailable, readFromNBT, readFromPacket, setOutputWidget, setParameter, setParent, setX, setY, writeToNBT, writeToPacketclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, freeToUse, getTranslationKey, isDifficultyOKpublic boolean hasStepInput()
IProgWidgetpublic boolean hasStepOutput()
IProgWidgethasStepOutput in interface IProgWidgethasStepOutput in class ProgWidgetpublic int getWidth()
getWidth in interface IProgWidgetgetWidth in class ProgWidgetpublic ProgWidgetType<?> returnType()
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.public net.minecraft.item.DyeColor getColor()
public IProgWidget.WidgetDifficulty getDifficulty()
public net.minecraft.util.ResourceLocation getTexture()
public net.minecraft.entity.ai.goal.Goal getWidgetAI(IDroneBase drone, IProgWidget widget)
IProgWidgetgetWidgetAI in interface IProgWidgetgetWidgetAI in class ProgWidgetdrone - the dronewidget - will be 'this' most of the time, but not when controlled externally (e.g. ComputerCraft)