package com.elmakers.mine.bukkit.api.spell;

/**
 * The type of targeting this Spell should perform.
 * 
 * This driven by the "target" parameter in the spell configuration or
 * command-line parameters.
 * 
 */
public enum TargetType {
    NONE(false),
    BLOCK(false),
    ANY(true),
    OTHER(true),
    ANY_ENTITY(true),
    OTHER_ENTITY(true),
    SELF(false),
    SELECT(true);

    private boolean targetEntities;

    private TargetType(boolean targetEntities) {
        this.targetEntities = true;
    }

    public boolean targetsEntities() {
        return this.targetEntities;
    }
}

package com.elmakers.mine.bukkit.api.spell;

/**
 * The type of targeting this Spell should perform.
 * 
 * This driven by the "target" parameter in the spell configuration or
 * command-line parameters.
 * 
 */
public enum TargetType {
    NONE(false),
    BLOCK(false),
    ANY(true),
    OTHER(true),
    ANY_ENTITY(true),
    OTHER_ENTITY(true),
    SELF(false),
    SELECT(false),
    SELECT_ENTITY(true);

    private boolean targetEntities;

    private TargetType(boolean targetEntities) {
        this.targetEntities = true;
    }

    public boolean targetsEntities() {
        return this.targetEntities;
    }
}

Add TargetType.SELECT_ENTITY for future use