Class ConditionBlock

java.lang.Object
ua.mcchickenstudio.opencreative.indev.blocks.CodingBlock
ua.mcchickenstudio.opencreative.indev.blocks.conditions.ConditionBlock
All Implemented Interfaces:
ExtensionContent

public abstract class ConditionBlock extends CodingBlock
  • Constructor Details

    • ConditionBlock

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

    • execute

      public void execute(@Nullable @Nullable org.bukkit.entity.Entity target, @NotNull @NotNull ActionsHandler actionsHandler, @NotNull @NotNull Arguments arguments, @NotNull @NotNull List<ActionBlock> actions, @NotNull @NotNull List<ActionBlock> reactions, boolean isOpposed)
    • check

      public abstract boolean check(@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