Class PlayerActionBlock
java.lang.Object
ua.mcchickenstudio.opencreative.indev.blocks.CodingBlock
ua.mcchickenstudio.opencreative.indev.blocks.actions.ActionBlock
ua.mcchickenstudio.opencreative.indev.blocks.actions.player.PlayerActionBlock
- All Implemented Interfaces:
ExtensionContent,TypedBlock,ViewableTypedBlock
- Direct Known Subclasses:
PlayerChatAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidexecute(@NotNull org.bukkit.entity.Player player, @NotNull ActionsHandler actionsHandler, @NotNull Arguments arguments) final voidexecute(@Nullable org.bukkit.entity.Entity target, @NotNull ActionsHandler actionsHandler, @NotNull Arguments arguments) @NotNull StringgetType()Returns a specific type of block.Methods inherited from class ua.mcchickenstudio.opencreative.indev.blocks.actions.ActionBlock
createWrapped, onSignClickMethods inherited from class ua.mcchickenstudio.opencreative.indev.blocks.CodingBlock
equals, getId, getMainBlock, getOffBlock, hashCode, placeBlocksMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ua.mcchickenstudio.opencreative.coding.ExtensionContent
getDescription, getExtensionId, getNameMethods inherited from interface ua.mcchickenstudio.opencreative.indev.blocks.ViewableTypedBlock
getIcon
-
Constructor Details
-
PlayerActionBlock
-
-
Method Details
-
execute
public abstract void execute(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull ActionsHandler actionsHandler, @NotNull @NotNull Arguments arguments) -
getType
Description copied from interface:TypedBlockReturns a specific type of block.- Specified by:
getTypein interfaceTypedBlock- Returns:
- type of coding block.
-
execute
public final void execute(@Nullable @Nullable org.bukkit.entity.Entity target, @NotNull @NotNull ActionsHandler actionsHandler, @NotNull @NotNull Arguments arguments) - Specified by:
executein classActionBlock
-