return "entityAttack";
}
@Override
public List<EntityLivingBase> getValidEntities(World world){
StringFilterEntitySelector whitelistFilter = new StringFilterEntitySelector();
StringFilterEntitySelector blacklistFilter = new StringFilterEntitySelector();
ProgWidgetString widget = (ProgWidgetString)getConnectedParameters()[1];
if(widget != null) {
while(widget != null) {
whitelistFilter.addEntry(widget.string);
widget = (ProgWidgetString)widget.getConnectedParameters()[0];
}
} else {
whitelistFilter.setFilter("");
}
widget = (ProgWidgetString)getConnectedParameters()[3];
while(widget != null) {
blacklistFilter.addEntry(widget.string);
widget = (ProgWidgetString)widget.getConnectedParameters()[0];
}
List<Entity> entities = ProgWidgetAreaItemBase.getEntitiesInArea((ProgWidgetArea)getConnectedParameters()[0], (ProgWidgetArea)getConnectedParameters()[2], world, whitelistFilter, blacklistFilter);
List<EntityLivingBase> livingEntities = new ArrayList<EntityLivingBase>();