public class ProgWidgetItemCondition extends ProgWidgetConditionBase
IProgWidget.WidgetDifficulty| Constructor and Description |
|---|
ProgWidgetItemCondition() |
| Modifier and Type | Method and Description |
|---|---|
void |
addErrors(java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
java.util.List<IProgWidget> widgets) |
boolean |
evaluate(IDroneBase drone,
IProgWidget widget) |
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() |
getColor, getOutputWidget, getPossibleJumpLocations, hasStepInput, returnTypeaddWarnings, 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, getTranslationKey, isDifficultyOKpublic 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 void addErrors(java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
java.util.List<IProgWidget> widgets)
addErrors in interface IProgWidgetaddErrors in class ProgWidgetConditionBasepublic boolean evaluate(IDroneBase drone, IProgWidget widget)
evaluate in class ProgWidgetConditionBasepublic IProgWidget.WidgetDifficulty getDifficulty()
getDifficulty in interface IProgWidgetgetDifficulty in class ProgWidgetConditionBasepublic net.minecraft.util.ResourceLocation getTexture()