Class SelectionAddTargetAction
java.lang.Object
ua.mcchickenstudio.opencreative.coding.blocks.actions.Action
ua.mcchickenstudio.opencreative.coding.blocks.actions.selectionactions.SelectionAction
ua.mcchickenstudio.opencreative.coding.blocks.actions.selectionactions.SelectionAddTargetAction
- All Implemented Interfaces:
CodingBlock
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSelectionAddTargetAction(Executor executor, int x, Arguments args, ActionCategory condition, ActionType conditionType, boolean isOpposed) SelectionAddTargetAction(Executor executor, int x, Arguments args, Target target) -
Method Summary
Modifier and TypeMethodDescription@NotNull ActionTypeReturns type of action, that contains information about action: icon material, arguments list.protected voidmodifyTargets(List<org.bukkit.entity.Entity> newTarget, Set<org.bukkit.entity.Entity> currentTarget) Methods inherited from class ua.mcchickenstudio.opencreative.coding.blocks.actions.selectionactions.SelectionAction
execute, getActionCategoryMethods inherited from class ua.mcchickenstudio.opencreative.coding.blocks.actions.Action
getArguments, getArgumentsList, getEntitiesByNameOrUUID, getEntity, getEntityByNameOrUUID, getEvent, getExecutor, getHandler, getPlanet, getPlayersByNameOrUUID, getTarget, getTargets, getWorld, getX, getY, getZ, prepareAndExecute, setEntity, setEvent, setHandler, setVarValue
-
Constructor Details
-
SelectionAddTargetAction
public SelectionAddTargetAction(Executor executor, int x, Arguments args, ActionCategory condition, ActionType conditionType, boolean isOpposed) -
SelectionAddTargetAction
-
-
Method Details
-
modifyTargets
protected void modifyTargets(List<org.bukkit.entity.Entity> newTarget, Set<org.bukkit.entity.Entity> currentTarget) - Specified by:
modifyTargetsin classSelectionAction
-
getActionType
Description copied from class:ActionReturns type of action, that contains information about action: icon material, arguments list.- Specified by:
getActionTypein classAction- Returns:
- Type of action.
-