Interface IBuilderElevatorAction

    • Method Detail

      • onInitialize

        void onInitialize​(java.lang.String value)
      • meetsConditions

        boolean meetsConditions​(@NotNull
                                @NotNull IElevatorEventData eventData,
                                @NotNull
                                @NotNull org.bukkit.entity.Player player)
        Description copied from interface: IElevatorAction
        Returns whether this action should execute for the given event/player.

        This is a pure predicate; it should not have side effects.

        Specified by:
        meetsConditions in interface IElevatorAction
        Parameters:
        eventData - non-null event context
        player - non-null player involved in the event
        Returns:
        true if the action should execute; otherwise false