Class RepeatForEachAction
java.lang.Object
ua.mcchickenstudio.opencreative.coding.blocks.actions.Action
ua.mcchickenstudio.opencreative.coding.blocks.actions.MultiAction
ua.mcchickenstudio.opencreative.coding.blocks.actions.repeatactions.RepeatAction
ua.mcchickenstudio.opencreative.coding.blocks.actions.repeatactions.other.RepeatForEachAction
- All Implemented Interfaces:
CodingBlock
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether repeat action can continue repeating and executing the same actions.@NotNull ActionTypeReturns type of action, that contains information about action: icon material, arguments list.Methods inherited from class ua.mcchickenstudio.opencreative.coding.blocks.actions.repeatactions.RepeatAction
execute, getActionCategory, increaseCalls, repeat, setMustStopMethods inherited from class ua.mcchickenstudio.opencreative.coding.blocks.actions.MultiAction
executeActions, getActions, prepareAndExecuteMethods 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, setEntity, setEvent, setHandler, setVarValue
-
Constructor Details
-
RepeatForEachAction
-
-
Method Details
-
checkCanContinue
public boolean checkCanContinue()Description copied from class:RepeatActionChecks whether repeat action can continue repeating and executing the same actions.- Specified by:
checkCanContinuein classRepeatAction- Returns:
- true - can continue and execute actions, false - stop repeater.
-
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.
-