Class ActionBlock

java.lang.Object
ua.mcchickenstudio.opencreative.indev.blocks.CodingBlock
ua.mcchickenstudio.opencreative.indev.blocks.actions.ActionBlock
All Implemented Interfaces:
ExtensionContent
Direct Known Subclasses:
PlayerActionBlock

public abstract class ActionBlock extends CodingBlock
  • Constructor Details

    • ActionBlock

      public ActionBlock(@NotNull @NotNull String id, @NotNull @NotNull org.bukkit.Material mainBlock, @NotNull @NotNull org.bukkit.Material offBlock)
  • Method Details

    • createWrapped

      @Nullable public @Nullable WrappedAction createWrapped(@NotNull @NotNull Map<String,Object> data)
      Specified by:
      createWrapped in class CodingBlock
    • execute

      public abstract void execute(@Nullable @Nullable org.bukkit.entity.Entity target, @NotNull @NotNull ActionsHandler actionsHandler, @NotNull @NotNull Arguments arguments)
    • onSignClick

      public void onSignClick(org.bukkit.event.player.PlayerInteractEvent event)
      Specified by:
      onSignClick in class CodingBlock