Class HasResourcePackCondition

All Implemented Interfaces:
CodingBlock

public final class HasResourcePackCondition extends PlayerCondition
  • Constructor Details

    • HasResourcePackCondition

      public HasResourcePackCondition(Executor executor, Target target, int x, Arguments args, List<Action> actions, List<Action> reactions, boolean isOpposed)
      Creates an Condition with linked executor and specified arguments.
      Parameters:
      executor - Executor where this action will be added.
      x - X from Action's block location in developers planet.
      args - List of arguments for action.
  • Method Details

    • checkPlayer

      public boolean checkPlayer(@NotNull @NotNull org.bukkit.entity.Player player)
      Specified by:
      checkPlayer in class PlayerCondition
    • getActionType

      @NotNull public @NotNull ActionType getActionType()
      Description copied from class: Action
      Returns type of action, that contains information about action: icon material, arguments list.
      Specified by:
      getActionType in class Action
      Returns:
      Type of action.