Class RestoreInventoryAction
java.lang.Object
ua.mcchickenstudio.opencreative.coding.blocks.actions.Action
ua.mcchickenstudio.opencreative.coding.blocks.actions.playeractions.PlayerAction
ua.mcchickenstudio.opencreative.coding.blocks.actions.playeractions.inventory.RestoreInventoryAction
- All Implemented Interfaces:
CodingBlock
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionRestoreInventoryAction(Executor executor, Target target, int x, Arguments args) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecutePlayer(@NotNull org.bukkit.entity.Player player) @NotNull ActionTypeReturns type of action, that contains information about action: icon material, arguments list.Methods inherited from class ua.mcchickenstudio.opencreative.coding.blocks.actions.playeractions.PlayerAction
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
-
RestoreInventoryAction
-
-
Method Details
-
executePlayer
public void executePlayer(@NotNull @NotNull org.bukkit.entity.Player player) - Specified by:
executePlayerin classPlayerAction
-
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.
-