public class ProgWidgetEntityRightClick extends ProgWidget implements IAreaProvider, IEntityProvider
IProgWidget.WidgetDifficulty| Constructor and Description |
|---|
ProgWidgetEntityRightClick() |
| Modifier and Type | Method and Description |
|---|---|
void |
addErrors(java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
java.util.List<IProgWidget> widgets) |
void |
getArea(java.util.Set<net.minecraft.util.math.BlockPos> area) |
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() |
java.util.List<net.minecraft.entity.Entity> |
getValidEntities(net.minecraft.world.World world) |
net.minecraft.entity.ai.goal.Goal |
getWidgetAI(IDroneBase drone,
IProgWidget progWidget)
Get the AI for this progwidget
|
boolean |
hasStepInput()
Can this widget connect to a widget above?
|
boolean |
isEntityValid(net.minecraft.entity.Entity entity) |
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, 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, waitgetEntityFilterPositioncreate, 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 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 IProgWidgetpublic net.minecraft.item.DyeColor getColor()
getColor in interface IProgWidgetpublic IProgWidget.WidgetDifficulty getDifficulty()
getDifficulty in interface IProgWidgetpublic net.minecraft.util.ResourceLocation getTexture()
getTexture in interface IProgWidgetpublic net.minecraft.entity.ai.goal.Goal getWidgetAI(IDroneBase drone, IProgWidget progWidget)
IProgWidgetgetWidgetAI in interface IProgWidgetgetWidgetAI in class ProgWidgetdrone - the droneprogWidget - will be 'this' most of the time, but not when controlled externally (e.g. ComputerCraft)public 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 IEntityProviderpublic void getArea(java.util.Set<net.minecraft.util.math.BlockPos> area)
getArea in interface IAreaProvider