public class ProgWidgetDroneConditionEntity extends ProgWidgetDroneCondition implements IEntityProvider
ICondition.OperatorIProgWidget.WidgetDifficulty| Constructor and Description |
|---|
ProgWidgetDroneConditionEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
addErrors(java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
java.util.List<IProgWidget> widgets) |
protected int |
getCount(IDroneBase d,
IProgWidget widget) |
int |
getEntityFilterPosition()
Most, but not all, widgets have the entity filter attached as the second piece (area as the first)
|
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() |
java.util.List<net.minecraft.entity.Entity> |
getValidEntities(net.minecraft.world.World world) |
boolean |
isEntityValid(net.minecraft.entity.Entity entity) |
addVariables, evaluate, getExtraStringInfo, getMeasureVar, getOperator, getRequiredCount, getTooltip, getVariable, getWidgetAI, isAndFunction, readFromNBT, readFromPacket, setAIManager, setAndFunction, setMeasureVar, setOperator, setRequiredCount, setVariable, writeToNBT, writeToPacketgetColor, getDifficulty, getOutputWidget, getPossibleJumpLocations, hasStepInput, returnTypeaddWarnings, canBeRunByComputers, canSetParameter, copy, fromNBT, fromPacket, getConnectedParameters, getHeight, getMaxUV, getOutputWidget, getParent, getTextureSize, getType, getTypeID, getWidgetTargetAI, getWidth, getX, getY, hasBlacklist, hasStepOutput, isAvailable, setOutputWidget, setParameter, setParent, setX, setYclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmaybeRecordMeasuredValcreate, 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.getParameters 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 ProgWidgetConditionBasepublic int getEntityFilterPosition()
IEntityProvidergetEntityFilterPosition in interface IEntityProviderprotected int getCount(IDroneBase d, IProgWidget widget)
getCount in class ProgWidgetDroneConditionpublic net.minecraft.util.ResourceLocation getTexture()
getTexture in interface IProgWidgetpublic java.util.List<net.minecraft.entity.Entity> getValidEntities(net.minecraft.world.World world)
getValidEntities in interface IEntityProviderpublic boolean isEntityValid(net.minecraft.entity.Entity entity)
isEntityValid in interface IEntityProvider