public class ProgWidgetBlockCondition extends ProgWidgetCondition
ICondition.OperatorIProgWidget.WidgetDifficulty| Modifier and Type | Field and Description |
|---|---|
boolean |
checkingForAir |
boolean |
checkingForLiquids |
aiManagerALL_SIDES| Constructor and Description |
|---|
ProgWidgetBlockCondition() |
| Modifier and Type | Method and Description |
|---|---|
protected DroneAIBlockCondition |
getEvaluator(IDroneBase drone,
IProgWidget widget) |
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() |
void |
readFromNBT(net.minecraft.nbt.CompoundNBT tag) |
void |
readFromPacket(net.minecraft.network.PacketBuffer buf) |
void |
writeToNBT(net.minecraft.nbt.CompoundNBT tag)
At least do
tag.putString("name", getTypeID().toString()); |
void |
writeToPacket(net.minecraft.network.PacketBuffer buf) |
addErrors, addVariables, evaluate, getColor, getDifficulty, getExtraStringInfo, getMeasureVar, getOperator, getOutputWidget, getPossibleJumpLocations, getRequiredCount, getTooltip, getVariable, getWidgetAI, isAndFunction, isUsingSides, setAndFunction, setMeasureVar, setOperator, setRequiredCount, setVariablegetCount, getSides, setCount, setSides, setUseCount, useCountgetArea, getArea, getAreaExtents, getCachedAreaList, getCachedAreaSet, getChunkCache, getEntitiesInArea, getEntitiesInArea, getValidEntities, hasStepInput, invalidateAreaCache, isEntityValid, isItemFilterEmpty, isItemValidForFilters, isItemValidForFilters, returnType, setAIManageraddWarnings, 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, waitmaybeRecordMeasuredValsetAIManagergetDirForSides, getSidesFromDir, isSideSelectedgetEntityFilterPositioncreate, freeToUse, getTranslationKey, isDifficultyOKpublic boolean checkingForAir
public boolean checkingForLiquids
public 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 IProgWidgetgetParameters in class ProgWidgetAreaItemBaseprotected DroneAIBlockCondition getEvaluator(IDroneBase drone, IProgWidget widget)
getEvaluator in class ProgWidgetConditionpublic net.minecraft.util.ResourceLocation getTexture()
public void writeToNBT(net.minecraft.nbt.CompoundNBT tag)
IProgWidgettag.putString("name", getTypeID().toString());
Note that the base implementation ProgWidget does this.
writeToNBT in interface IProgWidgetwriteToNBT in class ProgWidgetConditiontag - NBT tag to write topublic void readFromNBT(net.minecraft.nbt.CompoundNBT tag)
readFromNBT in interface IProgWidgetreadFromNBT in class ProgWidgetConditionpublic void writeToPacket(net.minecraft.network.PacketBuffer buf)
writeToPacket in interface IProgWidgetwriteToPacket in class ProgWidgetConditionpublic void readFromPacket(net.minecraft.network.PacketBuffer buf)
readFromPacket in interface IProgWidgetreadFromPacket in class ProgWidgetCondition